diff options
author | Richard Guenther <rguenther@suse.de> | 2006-05-10 10:22:39 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2006-05-10 10:22:39 +0000 |
commit | a04d8591f266f810cf4681930772982444227b83 (patch) | |
tree | 2e26bba9ef58b3eadcdafeb6f4d3d820b548704f /libjava/java | |
parent | 4db60bd06f820684418d7bb179d6edee80cddb08 (diff) | |
download | gcc-a04d8591f266f810cf4681930772982444227b83.zip gcc-a04d8591f266f810cf4681930772982444227b83.tar.gz gcc-a04d8591f266f810cf4681930772982444227b83.tar.bz2 |
re PR middle-end/27302 (Fold does not fold (i < j) == (j > i) to 1)
2006-05-10 Richard Guenther <rguenther@suse.de>
PR tree-optimization/27302
* fold-const.c (operand_equal_p): For two comparisons,
try comparison of one comparison code swapped if that yields
the same code.
* gcc.dg/torture/pr27302.c: New testcase.
From-SVN: r113670
Diffstat (limited to 'libjava/java')
0 files changed, 0 insertions, 0 deletions