------- Comment #3 from jakub at gcc dot gnu dot org 2006-11-05 12:18 ------- Subject: Bug 29695
Author: jakub Date: Sun Nov 5 12:18:03 2006 New Revision: 118498 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=118498 Log: PR middle-end/29695 * fold-const.c (fold_ternary): Fix A < 0 ? <sign bit of A> : 0 simplification. * gcc.c-torture/execute/pr29695-1.c: New test. * gcc.c-torture/execute/pr29695-2.c: New test. Added: branches/gcc-4_2-branch/gcc/testsuite/gcc.c-torture/execute/pr29695-1.c branches/gcc-4_2-branch/gcc/testsuite/gcc.c-torture/execute/pr29695-2.c Modified: branches/gcc-4_2-branch/gcc/ChangeLog branches/gcc-4_2-branch/gcc/fold-const.c branches/gcc-4_2-branch/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29695