ifcvt.c (noce_emit_store_flag): Don't emit store flag if mode of x is not a scalar int mode.

* ifcvt.c (noce_emit_store_flag): Don't emit store flag if mode of x
	is not a scalar int mode.

From-SVN: r61525
This commit is contained in:
John David Anglin 2003-01-21 02:03:14 +00:00 committed by John David Anglin
parent dbaff908a0
commit 475c825089
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2003-01-20 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
* ifcvt.c (noce_emit_store_flag): Don't emit store flag if mode of x
is not a scalar int mode.
2003-01-20 Roger Sayle <roger@eyesopen.com>
* cse.c (cse_insn): Avoid RTL sharing when updating the RETVAL

View File

@ -647,8 +647,8 @@ noce_emit_store_flag (if_info, x, reversep, normalize)
end_sequence ();
}
/* Don't even try if the comparison operands are weird. */
if (cond_complex)
/* Don't even try if the comparison operands or the mode of X are weird. */
if (cond_complex || !SCALAR_INT_MODE_P (GET_MODE (x)))
return NULL_RTX;
return emit_store_flag (x, code, XEXP (cond, 0),