[Bug c++/61994] [4.9 Regression] constexpr vector array ICE

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Aug 7 18:55:00 GMT 2014


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

--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Thu Aug  7 18:54:40 2014
New Revision: 213726

URL: https://gcc.gnu.org/viewcvs?rev=213726&root=gcc&view=rev
Log:
    PR c++/61994
    * init.c (build_vec_init): Leave atype an ARRAY_TYPE
    if we're just returning an INIT_EXPR.

Added:
    branches/gcc-4_9-branch/gcc/testsuite/g++.dg/cpp0x/constexpr-array7.C
Modified:
    branches/gcc-4_9-branch/gcc/cp/ChangeLog
    branches/gcc-4_9-branch/gcc/cp/init.c



More information about the Gcc-bugs mailing list