Commit 475c8250 by John David Anglin Committed by John David Anglin

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
parent dbaff908
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
......
......@@ -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),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment