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++/58611] [4.8/4.9/4.10 Regression] [c++11] ICE with invalid constexpr constructor used in array initialization


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58611

--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Mon Jul 14 05:25:31 2014
New Revision: 212506

URL: https://gcc.gnu.org/viewcvs?rev=212506&root=gcc&view=rev
Log:
    PR c++/58611
    * decl.c (check_initializer): Don't finish_compound_literal
    on erroneous constexpr init.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-array6.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]