This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r234695 - in /trunk/gcc: cp/ChangeLog cp/conste...
- From: jason at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Sat, 02 Apr 2016 01:35:46 -0000
- Subject: r234695 - in /trunk/gcc: cp/ChangeLog cp/conste...
Author: jason
Date: Sat Apr 2 01:35:45 2016
New Revision: 234695
URL: https://gcc.gnu.org/viewcvs?rev=234695&root=gcc&view=rev
Log:
PR c++/70449
PR c++/70344
* pt.c (instantiate_decl): A function isn't fully defined if
DECL_INITIAL is error_mark_node.
* constexpr.c (cxx_eval_call_expression): Likewise.
Added:
trunk/gcc/testsuite/g++.dg/cpp1y/constexpr-recursion1.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/constexpr.c
trunk/gcc/cp/pt.c