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

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Apr 27 03:59:00 GMT 2011


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

--- Comment #20 from Jason Merrill <jason at gcc dot gnu.org> 2011-04-27 03:55:27 UTC ---
(In reply to comment #19)
>   : data{ r, i } { }

Yes.

> In my opinion, at this point at least, it would be safer and simpler to
> restrict the syntax to C++1x

What is this C++1x you speak of?  But yes, that makes sense.

> Thus, any tip about the right bits of the C++ front-end to touch?

I would start with the BRACE_ENCLOSED_INITIALIZER_P part of
implicit_conversion.

Jason



More information about the Gcc-bugs mailing list