r171012 - in /trunk/gcc: c-family/ChangeLog c-f...
jason@gcc.gnu.org
jason@gcc.gnu.org
Tue Mar 15 18:29:00 GMT 2011
Author: jason
Date: Tue Mar 15 18:29:00 2011
New Revision: 171012
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=171012
Log:
c-family/
* c-common.c (max_constexpr_depth): New.
* c-common.h: Declare it.
* c-opts.c (c_common_handle_option): Set it.
* c.opt (fconstexpr-depth): New option.
cp/
* semantics.c (push_cx_call_context): Return bool.
(cxx_eval_call_expression): Handle excess depth.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-recursion.C
Modified:
trunk/gcc/c-family/ChangeLog
trunk/gcc/c-family/c-common.c
trunk/gcc/c-family/c-common.h
trunk/gcc/c-family/c-opts.c
trunk/gcc/c-family/c.opt
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/semantics.c
trunk/gcc/doc/invoke.texi
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list