This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/30957] Misscompare with variable expansion optimization
- From: "eres at il dot ibm dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Feb 2007 13:51:41 -0000
- Subject: [Bug rtl-optimization/30957] Misscompare with variable expansion optimization
- References: <bug-30957-13229@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from eres at il dot ibm dot com 2007-02-26 13:51 -------
The reason that this tescase fails is because the expansion is been initialized
with +0, which means that it's final result will be +0 and not -0 as expected.
expansion += d --> expansion += -0 --> +0
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30957