re PR rtl-optimization/39588 (internal compiler error: in trunc_int_for_mode, at...
authorEric Botcazou <ebotcazou@adacore.com>
Wed, 1 Apr 2009 20:46:30 +0000 (20:46 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Wed, 1 Apr 2009 20:46:30 +0000 (20:46 +0000)
commit87cfb32c77478f0e876e6c15a03f75c6aa07b2e7
tree4fd3653042cd7b017ac9cd6a959417dfec967094
parentbbb6eae87edb29b26e7c545645fac3d76a4605d8
re PR rtl-optimization/39588 (internal compiler error: in trunc_int_for_mode, at explow.c:55)

PR rtl-optimization/39588
* combine.c (merge_outer_ops): Do not set the constant when this
is not necessary.
(simplify_shift_const_1): Do not modify it either in this case.

From-SVN: r145430
gcc/ChangeLog
gcc/combine.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/20090401-1.c [new file with mode: 0644]