[Bug c++/49949] wrong sign for product of complex<double> and double with -O2

paolo.carlini at oracle dot com gcc-bugzilla@gcc.gnu.org
Wed Sep 28 16:14:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49949

--- Comment #9 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-09-28 16:02:05 UTC ---
HJ, I think the correct output, showing that we are *not* miscompiling or
something is:

(-0.0,-1.0)x100.0=(-0.0,-100.0)

exactly what you are seeing. The problem is, with 4.6 we get:

(-0.0,-1.0)x100.0=(0.0,100.0)

which is wrong. When that changed?



More information about the Gcc-bugs mailing list