This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r132269 - in /trunk/gcc: ChangeLog fold-const.c...
- From: rguenth at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 12 Feb 2008 21:26:49 -0000
- Subject: r132269 - in /trunk/gcc: ChangeLog fold-const.c...
Author: rguenth
Date: Tue Feb 12 21:26:49 2008
New Revision: 132269
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132269
Log:
2008-02-12 Richard Guenther <rguenther@suse.de>
PR middle-end/35163
* fold-const.c (fold_widened_comparison): Use get_unwidened in
value-preserving mode. Disallow final truncation.
* gcc.c-torture/execute/pr35163.c: New testcase.
Added:
trunk/gcc/testsuite/gcc.c-torture/execute/pr35163.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/fold-const.c
trunk/gcc/testsuite/ChangeLog