------- Comment #9 from jakub at gcc dot gnu dot org 2008-08-14 09:12 ------- Subject: Bug 37103
Author: jakub Date: Thu Aug 14 09:11:03 2008 New Revision: 139094 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=139094 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: branches/gcc-4_3-branch/gcc/testsuite/gcc.c-torture/execute/20080813-1.c Modified: branches/gcc-4_3-branch/gcc/ChangeLog branches/gcc-4_3-branch/gcc/fold-const.c branches/gcc-4_3-branch/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37103