This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/49132] [4.6/4.7 regression] Aggregate-initialization rejected for class with const data member


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |4.5.1
            Summary|[C++0x]                     |[4.6/4.7 regression]
                   |Aggregate-initialization    |Aggregate-initialization
                   |rejected for class with     |rejected for class with
                   |const data member           |const data member
      Known to fail|                            |4.6.0, 4.7.0

--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> 2011-05-23 22:11:49 UTC ---
This is a regression relative to 4.5 in C++98/03 mode as well (the a1
declaration).


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]