This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r122622 - in /branches/gcc-4_2-branch/gcc: Chan...
- From: sayle at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 06 Mar 2007 16:30:13 -0000
- Subject: r122622 - in /branches/gcc-4_2-branch/gcc: Chan...
Author: sayle
Date: Tue Mar 6 16:30:12 2007
New Revision: 122622
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=122622
Log:
PR middle-end/30744
* fold-const.c (fold_binary) <EQ_EXPR>: Enforce type consistency
when transforming ~X op C to X op' ~C.
* gcc.dg/pr30744-1.c: New test case.
Added:
branches/gcc-4_2-branch/gcc/testsuite/gcc.dg/pr30744-1.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