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/26729] [4.0/4.1 regression] bad bitops folding



------- Comment #17 from sayle at gcc dot gnu dot org  2006-05-14 04:19 -------
Subject: Bug 26729

Author: sayle
Date: Sun May 14 04:19:32 2006
New Revision: 113755

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113755
Log:

        PR middle-end/26729
        * fold-const.c (fold_truthop): Check integer_nonzerop instead of
        !integer_zerop to avoid problems with TREE_OVERFLOW.

        * gcc.dg/pr26729-1.c: New test case.


Added:
    branches/gcc-4_1-branch/gcc/testsuite/gcc.dg/pr26729-1.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=26729


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