Commit 668bcf76 by Jeffrey A Law Committed by Jeff Law

combine.c (if_then_else_cond): Be careful about what kinds of RTL expressions…

combine.c (if_then_else_cond): Be careful about what kinds of RTL expressions are passed to operand_subword.

	* combine.c (if_then_else_cond): Be careful about what kinds
	of RTL expressions are passed to operand_subword.

From-SVN: r31383
parent ca4cd7ab
Wed Jan 12 22:34:00 2000 Jeffrey A Law (law@cygnus.com)
* combine.c (if_then_else_cond): Be careful about what kinds
of RTL expressions are passed to operand_subword.
* flow.c (split_edge): If we have to insert a new jump, make
sure to associate it with a basic block.
......
......@@ -7216,7 +7216,10 @@ if_then_else_cond (x, ptrue, pfalse)
&& 0 != (cond0 = if_then_else_cond (SUBREG_REG (x),
&true0, &false0)))
{
if (GET_MODE_SIZE (GET_MODE (SUBREG_REG (x))) > UNITS_PER_WORD
if ((GET_CODE (SUBREG_REG (x)) == REG
|| GET_CODE (SUBREG_REG (x)) == MEM
|| CONSTANT_P (SUBREG_REG (x)))
&& GET_MODE_SIZE (GET_MODE (SUBREG_REG (x))) > UNITS_PER_WORD
&& (WORDS_BIG_ENDIAN || SUBREG_WORD (x) != 0))
{
true0 = operand_subword (true0, SUBREG_WORD (x), 0, mode);
......
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