This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/49132] 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:43:18 +0000
- Subject: [Bug c++/49132] 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
----------------------------------------------------------------------------
Keywords| |rejects-valid
Known to work|4.5.1 |
Summary|[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| |2.95, 3.0, 4.0.4
--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> 2011-05-23 22:14:39 UTC ---
Actually it isn't a regression, it's broken as far back as 2.95.