[Bug c++/28408] What should be value of complex<double>(1.0,0.0) *= -1?
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Sep 6 20:27:00 GMT 2006
------- Comment #8 from pinskia at gcc dot gnu dot org 2006-09-06 20:27 -------
(In reply to comment #7)
> Both the front-ends deal with 0 * -1 in the same way, the result is -0 (just
> try). Anyway, the issue is crazy, a reduced pure C testcase (in principle
> identical to what the complex<double> class does) behaves exactly the other way
> 'round about -O0 vs -O1:
This is PR 24581 after all then.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28408
More information about the Gcc-bugs
mailing list