[Bug middle-end/30433] [4.1 Regression] no longer folding __complex__(0.0, 1.0) == __complex__(1.0, 0.0)
sayle at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Mar 12 18:41:00 GMT 2007
------- Comment #6 from sayle at gcc dot gnu dot org 2007-03-12 18:41 -------
Subject: Bug 30433
Author: sayle
Date: Mon Mar 12 18:40:56 2007
New Revision: 122852
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=122852
Log:
2007-03-12 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_1-branch/gcc/testsuite/gcc.c-torture/compile/pr30433.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=30433
More information about the Gcc-bugs
mailing list