[Bug c++/60224] [4.7/4.8/4.9 Regression] ICE using invalid initializer for array
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Feb 21 14:57:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60224
--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Fri Feb 21 14:56:53 2014
New Revision: 208002
URL: http://gcc.gnu.org/viewcvs?rev=208002&root=gcc&view=rev
Log:
PR c++/60224
* decl.c (cp_complete_array_type, maybe_deduce_size_from_array_init):
Don't get confused by a CONSTRUCTOR that already has a type.
Added:
trunk/gcc/testsuite/g++.dg/init/array36.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/decl.c
More information about the Gcc-bugs
mailing list