This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/60951] [4.9/4.10 Regression][C++11] ICE with braced-init-list assignment and constexpr constructor
- 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: Wed, 30 Apr 2014 14:23:59 +0000
- Subject: [Bug c++/60951] [4.9/4.10 Regression][C++11] ICE with braced-init-list assignment and constexpr constructor
- Auto-submitted: auto-generated
- References: <bug-60951-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60951
--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Wed Apr 30 14:23:27 2014
New Revision: 209935
URL: http://gcc.gnu.org/viewcvs?rev=209935&root=gcc&view=rev
Log:
PR c++/60951
* typeck2.c (massage_init_elt): Use maybe_constant_init.
Added:
branches/gcc-4_9-branch/gcc/testsuite/g++.dg/cpp0x/constexpr-aggr1.C
Modified:
branches/gcc-4_9-branch/gcc/cp/ChangeLog
branches/gcc-4_9-branch/gcc/cp/typeck2.c