This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/60224] [4.7/4.8/4.9 Regression] ICE using invalid initializer for array


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]