This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/56291] [4.6/4.7/4.8 Regression] ICE for C++11 in output_constructor_regular_field, at varasm.c:4821
- 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: Tue, 12 Feb 2013 17:40:38 +0000
- Subject: [Bug c++/56291] [4.6/4.7/4.8 Regression] ICE for C++11 in output_constructor_regular_field, at varasm.c:4821
- Auto-submitted: auto-generated
- References: <bug-56291-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56291
--- Comment #12 from Jason Merrill <jason at gcc dot gnu.org> 2013-02-12 17:40:38 UTC ---
Author: jason
Date: Tue Feb 12 17:40:32 2013
New Revision: 195987
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=195987
Log:
PR c++/56291
* semantics.c (sort_constexpr_mem_initializers): Handle
vptr out of order.
Added:
branches/gcc-4_7-branch/gcc/testsuite/g++.dg/cpp0x/constexpr-virtual4.C
Modified:
branches/gcc-4_7-branch/gcc/cp/ChangeLog
branches/gcc-4_7-branch/gcc/cp/semantics.c