This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/64029] [4.9 Regression] const int (&in)[]{1,2,3,4,5}; results in internal compiler error: Segmentation fault
- 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, 07 Jan 2015 15:18:48 +0000
- Subject: [Bug c++/64029] [4.9 Regression] const int (&in)[]{1,2,3,4,5}; results in internal compiler error: Segmentation fault
- Auto-submitted: auto-generated
- References: <bug-64029-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64029
--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Wed Jan 7 15:18:16 2015
New Revision: 219307
URL: https://gcc.gnu.org/viewcvs?rev=219307&root=gcc&view=rev
Log:
PR c++/64029
* decl.c (grok_reference_init): Complete array type.
Added:
branches/gcc-4_9-branch/gcc/testsuite/g++.dg/cpp0x/initlist89.C
Modified:
branches/gcc-4_9-branch/gcc/cp/ChangeLog
branches/gcc-4_9-branch/gcc/cp/decl.c