[Bug c++/78572] [6/7 Regression] internal compiler error: in output_constructor_regular_field, at varasm.c:4968
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Feb 16 16:42:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78572
--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Thu Feb 16 16:42:06 2017
New Revision: 245511
URL: https://gcc.gnu.org/viewcvs?rev=245511&root=gcc&view=rev
Log:
PR c++/78572 - ICE with self-modifying array initializer
* constexpr.c (cxx_eval_store_expression): The object we're
initializing is outside the constant-expression.
Added:
trunk/gcc/testsuite/g++.dg/init/array47.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/constexpr.c
More information about the Gcc-bugs
mailing list