re PR tree-optimization/48734 (ICE in eliminate_redundant_comparison, at tree-ssa...
authorJakub Jelinek <jakub@redhat.com>
Tue, 26 Apr 2011 13:33:49 +0000 (15:33 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 26 Apr 2011 13:33:49 +0000 (15:33 +0200)
commit2c9da85bf03e2920af2dca3bb124abc745bc365b
tree7b95eb186ef89a03e38a882771508f6648604711
parentac6fdeacafe537496c0b370c670737a5e3d165f8
re PR tree-optimization/48734 (ICE in eliminate_redundant_comparison, at tree-ssa-reassoc.c:1321)

PR tree-optimization/48734
* tree-ssa-reassoc.c (eliminate_redundant_comparison): Give up
if return value from maybe_fold_*_comparsions isn't something
the code is prepared to handle.

* gcc.c-torture/compile/pr48734.c: New test.

From-SVN: r172967
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr48734.c [new file with mode: 0644]
gcc/tree-ssa-reassoc.c