This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/49132] [4.6/4.7 regression] Aggregate-initialization rejected for class with const data member
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 23 May 2011 22:37:04 +0000
- Subject: [Bug c++/49132] [4.6/4.7 regression] Aggregate-initialization rejected for class with const data member
- Auto-submitted: auto-generated
- References: <bug-49132-4@http.gcc.gnu.org/bugzilla/>
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).