This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/48281] [4.6/4.7 Regression] [C++0x] internal compiler error: in record_reference, at cgraphbuild.c:60
- 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 Mar 2011 18:05:57 +0000
- Subject: [Bug c++/48281] [4.6/4.7 Regression] [C++0x] internal compiler error: in record_reference, at cgraphbuild.c:60
- Auto-submitted: auto-generated
- References: <bug-48281-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48281
--- Comment #9 from Jason Merrill <jason at gcc dot gnu.org> 2011-03-30 18:05:48 UTC ---
Author: jason
Date: Wed Mar 30 18:05:43 2011
New Revision: 171738
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=171738
Log:
PR c++/48281
* semantics.c (finish_compound_literal): Do put static/constant
arrays in static variables.
Added:
branches/gcc-4_6-branch/gcc/testsuite/g++.dg/cpp0x/initlist46.C
Modified:
branches/gcc-4_6-branch/gcc/cp/ChangeLog
branches/gcc-4_6-branch/gcc/cp/semantics.c
branches/gcc-4_6-branch/gcc/testsuite/ChangeLog