[Bug libstdc++/48760] [4.6 / 4.7 Regression (?)] std::complex constructor buggy in the face of NaN's

paolo.carlini at oracle dot com gcc-bugzilla@gcc.gnu.org
Mon Apr 25 16:14:00 GMT 2011


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

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|middle-end                  |libstdc++

--- Comment #5 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-04-25 16:12:35 UTC ---
Ok, no problem, I can certainly tweak the C++ library in this sense. Strange,
anyway, that the behavior of this std::complex constructor changed only in
4.6.0, after so *many* years (and, by the way, if I compile the same library
code with current ICC I get again (0,nan))



More information about the Gcc-bugs mailing list