r123988 - in /trunk/gcc: ChangeLog fold-const.c...
jakub@gcc.gnu.org
jakub@gcc.gnu.org
Fri Apr 20 11:40:00 GMT 2007
Author: jakub
Date: Fri Apr 20 12:40:47 2007
New Revision: 123988
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=123988
Log:
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.
Added:
trunk/gcc/testsuite/gcc.c-torture/compile/20070419-1.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/fold-const.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list