This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/30433] [4.1/4.2 Regression] no longer folding __complex__(0.0, 1.0) == __complex__(1.0, 0.0)
- From: "sayle at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Mar 2007 20:37:50 -0000
- Subject: [Bug middle-end/30433] [4.1/4.2 Regression] no longer folding __complex__(0.0, 1.0) == __complex__(1.0, 0.0)
- References: <bug-30433-6528@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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