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/30433] [4.1/4.2 Regression] no longer folding __complex__(0.0, 1.0) == __complex__(1.0, 0.0)



------- Comment #5 from sayle at gcc dot gnu dot org  2007-03-11 20:37 -------
Subject: Bug 30433

Author: sayle
Date: Sun Mar 11 20:37:40 2007
New Revision: 122823

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=122823
Log:
2007-03-11  Roger Sayle  <roger@eyesopen.com>
            Andrew Pinski  <andrew_pinski@playstation.sony.com>

        PR middle-end/30433
        * fold-const.c (fold_relational_const): Add back compile-time
        evaluation of complex constant equality/inequality comparisons.

        * gcc.c-torture/compile/pr30433.c: New testcase to check
        that complex constant comparisions are folded.


Added:
    branches/gcc-4_2-branch/gcc/testsuite/gcc.c-torture/compile/pr30433.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=30433


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