------- Comment #9 from rguenth at gcc dot gnu dot org 2008-03-25 10:18 ------- Subject: Bug 35163
Author: rguenth Date: Tue Mar 25 10:17:54 2008 New Revision: 133509 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133509 Log: 2008-03-25 Richard Guenther <[EMAIL PROTECTED]> Backport from mainline: 2008-02-12 Richard Guenther <[EMAIL PROTECTED]> 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: branches/gcc-4_1-branch/gcc/testsuite/gcc.c-torture/execute/pr35163.c - copied unchanged from r132269, trunk/gcc/testsuite/gcc.c-torture/execute/pr35163.c Modified: branches/gcc-4_1-branch/gcc/ChangeLog branches/gcc-4_1-branch/gcc/fold-const.c branches/gcc-4_1-branch/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35163