This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/30744] [4.2/4.3 Regression] ICE in compare_values, at tree-vrp.c:466



------- Comment #3 from sayle at gcc dot gnu dot org  2007-03-06 16:30 -------
Subject: Bug 30744

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


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30744


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]