[Bug c++/57979] G++ accepts constant expression defined using floating point non-constexpr glvalue
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Nov 20 03:43:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57979
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org
Target Milestone|--- |5.0
--- Comment #8 from Jason Merrill <jason at gcc dot gnu.org> ---
(In reply to Ville Voutilainen from comment #5)
> I think this should be put on hold, since EWG told CWG in Rapperswil
> that const floats should perform the same magic as const ints do, see
> http://open-std.org/JTC1/SC22/WG21/docs/cwg_closed.html#1826
> which EWG suggested CWG to reopen and resolve.
I had already done most of the work before you made this comment. :)
You might want to ping Mike about that again, as I don't think it came up in
core at the Urbana meeting.
Fixed for gcc 5.
More information about the Gcc-bugs
mailing list