gcc/gcc/cp
Jason Merrill 2bfe0527cd semantics.c (call_stack, [...]): New.
* semantics.c (call_stack, call_stack_tick, cx_error_context): New.
	(last_cx_error_tick, push_cx_call_context, pop_cx_call_context): New.
	(cxx_eval_call_expression): Call push/pop_cx_call_context instead
	of giving follow-on errors.
	* error.c (maybe_print_constexpr_context): New.
	(cp_diagnostic_starter): Call it.
	* cp-tree.h: Declare cx_error_context.

From-SVN: r166169
2010-11-01 21:31:40 -04:00
..
ChangeLog semantics.c (call_stack, [...]): New. 2010-11-01 21:31:40 -04:00
ChangeLog-1993 ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
ChangeLog-1994 ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
ChangeLog-1995 ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
ChangeLog-1996 ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
ChangeLog-1997 ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
ChangeLog-1998 ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
ChangeLog-1999 ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
ChangeLog-2000 ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
ChangeLog-2001 ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
ChangeLog-2002 ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
ChangeLog-2003 ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
ChangeLog-2004 re PR other/42537 ([PATCH] misc spelling fixes) 2009-12-30 10:53:31 +00:00
ChangeLog-2005 ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
ChangeLog-2006 ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
ChangeLog-2007 ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
ChangeLog-2008 ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
ChangeLog-2009 Move 2009 ChangeLog to ChangeLog-2009. 2010-01-01 09:08:32 -08:00
ChangeLog.ptr ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
ChangeLog.tree-ssa ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
Make-lang.in Build compiler checksum from object files v2 2010-10-11 13:06:50 +00:00
NEWS ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
call.c call.c (null_ptr_cst_p): Use maybe_constant_value. 2010-11-01 21:31:18 -04:00
cfns.gperf ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
cfns.h ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
class.c call.c (null_ptr_cst_p): Use maybe_constant_value. 2010-11-01 21:31:18 -04:00
config-lang.in c-common.c: Move to c-family/. 2010-06-05 20:33:22 +00:00
cp-gimplify.c tree.c (build_vec_init_expr): Split out from... 2010-10-26 14:10:53 -04:00
cp-lang.c In gcc/cp/: 2010-10-24 Nicola Pero <nicola.pero@meta-innovation.com> 2010-10-24 02:44:03 +00:00
cp-objcp-common.c langhooks-def.h (lhd_init_options, [...]): New. 2010-07-27 10:59:51 +01:00
cp-objcp-common.h In gcc/cp/: 2010-10-24 Nicola Pero <nicola.pero@meta-innovation.com> 2010-10-24 02:44:03 +00:00
cp-tree.def In gcc/testsuite/: 2010-10-07 Nicola Pero <nicola.pero@meta-innovation.com> 2010-10-07 22:34:50 +00:00
cp-tree.h semantics.c (call_stack, [...]): New. 2010-11-01 21:31:40 -04:00
cvt.c call.c (null_ptr_cst_p): Use maybe_constant_value. 2010-11-01 21:31:18 -04:00
cxx-pretty-print.c c-common.c (c_common_reswords): Add __is_literal_type. 2010-10-27 17:43:33 -04:00
cxx-pretty-print.h c-common.c: Move to c-family/. 2010-06-05 20:33:22 +00:00
decl.c call.c (null_ptr_cst_p): Use maybe_constant_value. 2010-11-01 21:31:18 -04:00
decl.h re PR c++/32056 (Storage classes on template parameters) 2009-11-16 08:31:26 +00:00
decl2.c call.c (null_ptr_cst_p): Use maybe_constant_value. 2010-11-01 21:31:18 -04:00
dump.c Implement range-based for-statements. 2010-09-11 01:20:08 -04:00
error.c semantics.c (call_stack, [...]): New. 2010-11-01 21:31:40 -04:00
except.c call.c (null_ptr_cst_p): Use maybe_constant_value. 2010-11-01 21:31:18 -04:00
expr.c system.h: Poison GCC_EXCEPT_H for front-end files. 2010-06-28 10:52:46 +00:00
friend.c Makefile.in (EXCEPT_H): Fix typo. 2010-05-25 18:14:23 +00:00
g++spec.c Makefile.in (gccspec.o, cppspec.o): Update dependencies. 2010-08-22 13:19:01 +01:00
init.c call.c (null_ptr_cst_p): Use maybe_constant_value. 2010-11-01 21:31:18 -04:00
lang-specs.h gcc.c (translate_options): Don't mention +e in comment. 2010-06-25 01:26:24 +01:00
lex.c In gcc/: 2010-10-17 Nicola Pero <nicola.pero@meta-innovation.com> 2010-10-17 21:52:09 +00:00
mangle.c re PR c++/44561 (using nullptr_t with -flto/-fwhopr causes ICE: tree code 'lang_type' is not supported in gimple streams) 2010-10-14 11:59:47 +00:00
method.c class.c (is_really_empty_class): Work when type is not complete. 2010-10-31 22:04:48 -04:00
name-lookup.c re PR c++/44561 (using nullptr_t with -flto/-fwhopr causes ICE: tree code 'lang_type' is not supported in gimple streams) 2010-10-14 11:59:47 +00:00
name-lookup.h Implement range-based for-statements. 2010-09-11 01:20:08 -04:00
operators.def decl.c (grokfndecl): Set DECL_CONTEXT on parms. 2009-03-17 19:31:18 -04:00
optimize.c tree.h (DECL_CHAIN): Define. 2010-07-15 14:31:28 +00:00
parser.c call.c (null_ptr_cst_p): Use maybe_constant_value. 2010-11-01 21:31:18 -04:00
pt.c call.c (null_ptr_cst_p): Use maybe_constant_value. 2010-11-01 21:31:18 -04:00
ptree.c * ptree.c (cxx_print_xnode): Handle TEMPLATE_INFO. 2010-07-16 17:05:07 -04:00
repo.c decl2.c (decl_constant_var_p): New fn. 2010-11-01 21:30:39 -04:00
rtti.c call.c (null_ptr_cst_p): Use maybe_constant_value. 2010-11-01 21:31:18 -04:00
search.c tree.h (DECL_CHAIN): Define. 2010-07-15 14:31:28 +00:00
semantics.c semantics.c (call_stack, [...]): New. 2010-11-01 21:31:40 -04:00
tree.c call.c (null_ptr_cst_p): Use maybe_constant_value. 2010-11-01 21:31:18 -04:00
typeck.c call.c (null_ptr_cst_p): Use maybe_constant_value. 2010-11-01 21:31:18 -04:00
typeck2.c call.c (null_ptr_cst_p): Use maybe_constant_value. 2010-11-01 21:31:18 -04:00