This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/71092] [6/7 Regression] ICE: in cxx_eval_call_expression, at cp/constexpr.c:1449; only with -Os
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 15 Jul 2016 18:50:11 +0000
- Subject: [Bug c++/71092] [6/7 Regression] ICE: in cxx_eval_call_expression, at cp/constexpr.c:1449; only with -Os
- Auto-submitted: auto-generated
- References: <bug-71092-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71092
--- Comment #9 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Fri Jul 15 18:49:38 2016
New Revision: 238395
URL: https://gcc.gnu.org/viewcvs?rev=238395&root=gcc&view=rev
Log:
PR c++/71092 - ICE with array and constexpr.
* constexpr.c (cxx_eval_call_expression): Fail quietly when cgraph
threw away DECL_SAVED_TREE.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-array17.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/constexpr.c