This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/65876] [5/6 Regression] [C++11] ICE in cxx_eval_call_expression, at cp/constexpr.c:1358
- 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: Thu, 30 Apr 2015 14:19:55 +0000
- Subject: [Bug c++/65876] [5/6 Regression] [C++11] ICE in cxx_eval_call_expression, at cp/constexpr.c:1358
- Auto-submitted: auto-generated
- References: <bug-65876-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65876
--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Thu Apr 30 14:19:24 2015
New Revision: 222628
URL: https://gcc.gnu.org/viewcvs?rev=222628&root=gcc&view=rev
Log:
PR c++/65876
* constexpr.c (cxx_eval_call_expression): Fail gracefully if cgraph
threw away DECL_SAVED_TREE.
Added:
branches/gcc-5-branch/gcc/testsuite/g++.dg/cpp0x/constexpr-array12.C
Modified:
branches/gcc-5-branch/gcc/cp/ChangeLog
branches/gcc-5-branch/gcc/cp/constexpr.c