Commit be3d27d6 by Christian Iseli Committed by Jeff Law

* combine.c (force_to_mode): return immediately if operand is a CLOBBER.

From-SVN: r17121
parent ade7386a
Wed Dec 17 00:13:48 1997 Christian Iseli <Christian.Iseli@lslsun.epfl.ch>
* combine.c (force_to_mode): return immediately if operand is a CLOBBER.
Tue Dec 16 23:44:54 1997 Manfred Hollstein <manfred@s-direktnet.de> Tue Dec 16 23:44:54 1997 Manfred Hollstein <manfred@s-direktnet.de>
* fixincludes (size_t): Add support for Motorola's stdlib.h * fixincludes (size_t): Add support for Motorola's stdlib.h
......
...@@ -6064,8 +6064,11 @@ force_to_mode (x, mode, mask, reg, just_select) ...@@ -6064,8 +6064,11 @@ force_to_mode (x, mode, mask, reg, just_select)
/* If this is a CALL or ASM_OPERANDS, don't do anything. Some of the /* If this is a CALL or ASM_OPERANDS, don't do anything. Some of the
code below will do the wrong thing since the mode of such an code below will do the wrong thing since the mode of such an
expression is VOIDmode. */ expression is VOIDmode.
if (code == CALL || code == ASM_OPERANDS)
Also do nothing if X is a CLOBBER; this can happen if X was
the return value from a call to gen_lowpart_for_combine. */
if (code == CALL || code == ASM_OPERANDS || code == CLOBBER)
return x; return x;
/* We want to perform the operation is its present mode unless we know /* We want to perform the operation is its present mode unless we know
......
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