mips.c (mips_process_sync_loop): Add missing enum cast.

gcc/
	* config/mips/mips.c (mips_process_sync_loop): Add missing
	enum cast.

From-SVN: r188915
This commit is contained in:
Richard Sandiford 2012-06-24 10:26:33 +00:00 committed by Richard Sandiford
parent 039db36ede
commit 636da8269e
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2012-06-24 Richard Sandiford <rdsandiford@googlemail.com>
* config/mips/mips.c (mips_process_sync_loop): Add missing
enum cast.
2012-06-23 Richard Henderson <rth@redhat.com>
PR target/53749

View File

@ -12048,7 +12048,7 @@ mips_process_sync_loop (rtx insn, rtx *operands)
model = MEMMODEL_ACQUIRE;
break;
default:
model = INTVAL (operands[memmodel_attr]);
model = (enum memmodel) INTVAL (operands[memmodel_attr]);
}
mips_multi_start ();