aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/mips
diff options
context:
space:
mode:
authorYvan Roux <yvan.roux@linaro.org>2015-09-16 10:57:42 +0200
committerYvan Roux <yvan.roux@linaro.org>2015-09-16 10:57:42 +0200
commitac19ac6481a3f326d9f41403f5dadab548b2c8a6 (patch)
treeb3e7e392d6f89138ab8343bd9a6157e284e756ae /gcc/config/mips
parent15a6021253f2cc4c832fd7ddb1469d3f0b281c91 (diff)
Merge branches/gcc-5-branch rev 227732.linaro-local/gcc-5-integration-branch-new
Change-Id: I2f59904b28323b1c72a8cf1bd62c9e460d95bcea
Diffstat (limited to 'gcc/config/mips')
-rw-r--r--gcc/config/mips/mips.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c
index 1733457e731..67ec6b9709f 100644
--- a/gcc/config/mips/mips.c
+++ b/gcc/config/mips/mips.c
@@ -13111,7 +13111,7 @@ mips_process_sync_loop (rtx_insn *insn, rtx *operands)
model = MEMMODEL_ACQUIRE;
break;
default:
- model = (enum memmodel) INTVAL (operands[memmodel_attr]);
+ model = memmodel_from_int (INTVAL (operands[memmodel_attr]));
}
mips_multi_start ();