------- Comment #1 from redi at gcc dot gnu dot org  2010-01-22 11:57 -------
Confirmed, not a regression.

[dcl.init]/9:
If no initializer is specified for an object, and the object is of (possibly
cv-qualified) non-POD class type (or array thereof), the object shall be
default-initialized; if the object is of const-qualified type, the underlying
class type shall have a user-declared default constructor.


-- 

redi at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |accepts-invalid
      Known to fail|                            |4.1.2 4.4.2
   Last reconfirmed|0000-00-00 00:00:00         |2010-01-22 11:57:37
               date|                            |


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

Reply via email to