]> gcc.gnu.org Git - gcc.git/commit
re PR tree-optimization/31632 (ICE in compare_values)
authorJakub Jelinek <jakub@gcc.gnu.org>
Fri, 20 Apr 2007 11:40:47 +0000 (13:40 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 20 Apr 2007 11:40:47 +0000 (13:40 +0200)
commit86122f7282ff1c895004881a9febde7bf15e928c
treed90632ae74816fc5e35d1e5f5e33db4f9a64e8d2
parentc1673e1b5a35cd6fe10a088d458ca0133a71eebd
re PR tree-optimization/31632 (ICE in compare_values)

PR tree-optimization/31632
* fold-const.c (fold_binary): Use op0 and op1 instead of arg0
and arg1 for optimizations of comparison against min/max values.
Fold arg0 to arg1's type for optimizations of comparison against
min+1 and max-1 values.

* gcc.c-torture/compile/20070419-1.c: New test.

From-SVN: r123988
gcc/ChangeLog
gcc/fold-const.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/20070419-1.c [new file with mode: 0644]
This page took 0.058098 seconds and 5 git commands to generate.