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++/58868] [4.9 Regression] ICE: in count_type_elements, at expr.c:5495 with -std=gnu++0x


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58868

--- Comment #9 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Tue Nov  5 18:03:03 2013
New Revision: 204406

URL: http://gcc.gnu.org/viewcvs?rev=204406&root=gcc&view=rev
Log:
    PR c++/58868
    * decl.c (check_initializer): Don't use build_vec_init for arrays
    of trivial type.

Added:
    trunk/gcc/testsuite/g++.dg/init/array35.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]