combine.c (simplify_and_const_int): Properly sign-extend CONSTOP.
2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * combine.c (simplify_and_const_int): Properly sign-extend CONSTOP. From-SVN: r49057
This commit is contained in:
parent
38e583fd25
commit
3b5708e7e6
|
@ -1,3 +1,7 @@
|
||||||
|
2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
|
||||||
|
|
||||||
|
* combine.c (simplify_and_const_int): Properly sign-extend CONSTOP.
|
||||||
|
|
||||||
2002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
|
2002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
|
||||||
|
|
||||||
* pa64-hpux.h (MD_EXEC_PREFIX): Set to "/usr/ccs/bin".
|
* pa64-hpux.h (MD_EXEC_PREFIX): Set to "/usr/ccs/bin".
|
||||||
|
|
|
@ -7830,6 +7830,7 @@ simplify_and_const_int (x, mode, varop, constop)
|
||||||
|
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
constop = trunc_int_for_mode (constop, mode);
|
||||||
if (GET_CODE (XEXP (x, 1)) != CONST_INT
|
if (GET_CODE (XEXP (x, 1)) != CONST_INT
|
||||||
|| (unsigned HOST_WIDE_INT) INTVAL (XEXP (x, 1)) != constop)
|
|| (unsigned HOST_WIDE_INT) INTVAL (XEXP (x, 1)) != constop)
|
||||||
SUBST (XEXP (x, 1), GEN_INT (constop));
|
SUBST (XEXP (x, 1), GEN_INT (constop));
|
||||||
|
|
Loading…
Reference in New Issue