[Bug c++/64899] Illegal dynamic initialization

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Feb 2 16:59:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64899

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |wrong-code
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2015-02-02
     Ever confirmed|0                           |1

--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #1)
> Not sure if the C++ standard gives you any guarantees it won't be
> initialized dynamically.

It does; 3.6.2 says that it gets constant initialization.



More information about the Gcc-bugs mailing list