This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r139093 - in /trunk/gcc: ChangeLog fold-const.c...
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 14 Aug 2008 09:02:47 -0000
- Subject: r139093 - in /trunk/gcc: ChangeLog fold-const.c...
Author: jakub
Date: Thu Aug 14 09:02:46 2008
New Revision: 139093
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=139093
Log:
PR middle-end/37103
* fold-const.c (fold_widened_comparison): Do not allow
sign changes that change the result even if shorter type
is wider than arg1_unw's type.
* gcc.c-torture/execute/20080813-1.c: New test.
Added:
trunk/gcc/testsuite/gcc.c-torture/execute/20080813-1.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/fold-const.c
trunk/gcc/testsuite/ChangeLog