This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/70344] [6 Regression] ICE on valid code at -O1 and above on x86_64-linux-gnu in adjust_temp_type, at cp/constexpr.c:1078
- 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: Wed, 23 Mar 2016 18:23:35 +0000
- Subject: [Bug c++/70344] [6 Regression] ICE on valid code at -O1 and above on x86_64-linux-gnu in adjust_temp_type, at cp/constexpr.c:1078
- Auto-submitted: auto-generated
- References: <bug-70344-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70344
--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Wed Mar 23 18:23:04 2016
New Revision: 234434
URL: https://gcc.gnu.org/viewcvs?rev=234434&root=gcc&view=rev
Log:
PR c++/70344
* constexpr.c (cxx_eval_call_expression): Catch invalid recursion.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-recursion2.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/constexpr.c