This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r120649 - in /trunk/gcc: ChangeLog fold-const.c...
- From: ian at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 10 Jan 2007 21:07:39 -0000
- Subject: r120649 - in /trunk/gcc: ChangeLog fold-const.c...
Author: ian
Date: Wed Jan 10 21:07:38 2007
New Revision: 120649
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=120649
Log:
./:
* 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.
Added:
trunk/gcc/testsuite/gcc.dg/fold-compare-2.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/fold-const.c
trunk/gcc/testsuite/ChangeLog