OSDN Git Service

./:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 10 Jan 2007 21:07:38 +0000 (21:07 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 10 Jan 2007 21:07:38 +0000 (21:07 +0000)
commit9112c6d30065fba63fa5d2aec9bf0a5ad1a6af91
treebc31606a9a7b434c624657d340d54a055fe20619
parent3814cd683c5c8cc0b73d2c9f22ec558447ce61f3
./:
* fold-const.c (fold_comparison): Fold comparisons like (x *
1000 < 0) to (x < 0).
testsuite/:
* gcc.dg/fold-compare-2.c: New test case for fold_comparison.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120649 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/fold-const.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/fold-compare-2.c [new file with mode: 0644]