gcc/gcc/cp
Nathan Sidwell 8fe4d24beb re PR c++/20789 (ICE with incomplete type in template)
cp:
	PR c++/20789
	* decl.c (cp_finish_decl): Clear runtime runtime initialization if
	in-class decl's initializer is bad.

	PR c++/21929
	* parser.c (struct cp_parser): Document that scope could be
	error_mark.
	(cp_parser_diagnose_invalid_type_name): Cope with error_mark for
	scope.
	(cp_parser_nested_name_specifier): Return NULL_TREE on error.
	(cp_parser_postfix_expression): Deal with null or error_mark
	scope.
	(cp_parser_elaborated_type_specifier): Adjust
	cp_parser_nested_name_specifier call.

	* parser (cp_parser_skip_to_end_of_block_or_statement): Cleanup.
testsuite:
	PR c++/21929
	* g++.dg/parse/crash26.C: New.

	PR c++/20789
	* g++.dg/init/member1.C: New.

From-SVN: r100880
2005-06-13 15:58:10 +00:00
..
ChangeLog re PR c++/20789 (ICE with incomplete type in template) 2005-06-13 15:58:10 +00:00
ChangeLog-1993 split old changelogs by year 2005-05-18 14:10:35 +00:00
ChangeLog-1994 split old changelogs by year 2005-05-18 14:10:35 +00:00
ChangeLog-1995 split old changelogs by year 2005-05-18 14:10:35 +00:00
ChangeLog-1996 split old changelogs by year 2005-05-18 14:10:35 +00:00
ChangeLog-1997 split old changelogs by year 2005-05-18 14:10:35 +00:00
ChangeLog-1998 split old changelogs by year 2005-05-18 14:10:35 +00:00
ChangeLog-1999 split old changelogs by year 2005-05-18 14:10:35 +00:00
ChangeLog-2000 split old changelogs by year 2005-05-18 14:10:35 +00:00
ChangeLog-2001 split old changelogs by year 2005-05-18 14:10:35 +00:00
ChangeLog-2002 split old changelogs by year 2005-05-18 14:10:35 +00:00
ChangeLog-2003 split old changelogs by year 2005-05-18 14:10:35 +00:00
ChangeLog-2004 split old changelogs by year 2005-05-18 14:10:35 +00:00
ChangeLog.tree-ssa
Make-lang.in re PR c++/21280 (#pragma interface, templates, and "inline function used but never defined") 2005-06-02 17:52:28 +00:00
NEWS
call.c cp-tree.def (UNARY_PLUS_EXPR): New C++ unary tree code. 2005-05-27 23:17:21 +00:00
cfns.gperf
cfns.h
class.c re PR c++/19497 (Invalid declaration in template diagnosed too late) 2005-06-08 11:49:23 +00:00
config-lang.in * config-lang.in (target_libs): Remove target-gperf. 2005-06-06 11:25:40 +00:00
cp-gimplify.c cp-tree.def (UNARY_PLUS_EXPR): New C++ unary tree code. 2005-05-27 23:17:21 +00:00
cp-lang.c c-lang.c (LANG_HOOKS_TYPES_COMPATIBLE_P): Remove. 2004-11-02 20:29:21 +00:00
cp-objcp-common.c re PR c++/18793 (ICE in cp_expr_size) 2004-12-14 19:38:25 +00:00
cp-objcp-common.h Yet more Objective-C++... 2005-05-17 20:05:24 +00:00
cp-tree.def re PR c++/19497 (Invalid declaration in template diagnosed too late) 2005-06-08 11:49:23 +00:00
cp-tree.h re PR c++/19497 (Invalid declaration in template diagnosed too late) 2005-06-08 11:49:23 +00:00
cvt.c re PR c++/10611 (operations on vector mode not recognized in C++) 2005-06-10 17:35:37 +00:00
cxx-pretty-print.c re PR c++/19497 (Invalid declaration in template diagnosed too late) 2005-06-08 11:49:23 +00:00
cxx-pretty-print.h cxx-pretty-print.c, [...]: Update copyright. 2005-02-08 14:46:52 +00:00
decl.c re PR c++/20789 (ICE with incomplete type in template) 2005-06-13 15:58:10 +00:00
decl.h cxx-pretty-print.c, [...]: Update copyright. 2005-02-08 14:46:52 +00:00
decl2.c re PR c++/20637 (Confusing message with different using declarations) 2005-06-06 14:18:22 +00:00
dump.c cp-tree.def (UNARY_PLUS_EXPR): New C++ unary tree code. 2005-05-27 23:17:21 +00:00
error.c re PR c++/21930 (pretty printer confusion) 2005-06-12 23:46:46 +00:00
except.c tweak comment 2005-05-23 19:02:53 -04:00
expr.c
friend.c * friend.c, lex.c, mangle.c, repo.c: Update copyright. 2005-05-03 18:34:03 +00:00
g++spec.c darwin.h (SUBTARGET_OVERRIDE_OPTIONS): Use %qs instead of `%s' in diagnostic. 2004-11-25 11:13:38 +00:00
init.c re PR c++/21165 (bogus error on a user-defined conversion in a template) 2005-05-31 17:43:26 +00:00
lang-specs.h
lex.c cp-tree.def (UNARY_PLUS_EXPR): New C++ unary tree code. 2005-05-27 23:17:21 +00:00
mangle.c decl.c (start_decl): Simplify specialization handling. 2005-06-02 09:34:38 +00:00
method.c re PR c++/20637 (Confusing message with different using declarations) 2005-06-06 14:18:22 +00:00
name-lookup.c re PR c++/19497 (Invalid declaration in template diagnosed too late) 2005-06-08 11:49:23 +00:00
name-lookup.h re PR c++/19497 (Invalid declaration in template diagnosed too late) 2005-06-08 11:49:23 +00:00
operators.def * operators.def, optimize.c: Update copyright. 2005-05-30 15:44:28 +00:00
optimize.c * operators.def, optimize.c: Update copyright. 2005-05-30 15:44:28 +00:00
parser.c re PR c++/20789 (ICE with incomplete type in template) 2005-06-13 15:58:10 +00:00
pt.c re PR c++/19497 (Invalid declaration in template diagnosed too late) 2005-06-08 11:49:23 +00:00
ptree.c * cp-tree.def, except.c, ptree.c: Update copyright. 2005-02-11 16:28:37 +00:00
repo.c * friend.c, lex.c, mangle.c, repo.c: Update copyright. 2005-05-03 18:34:03 +00:00
rtti.c re PR c++/21188 (CbcModel.cpp:3571: internal compiler error: in compare_values, at tree-vrp.c:292) 2005-04-25 11:08:35 -07:00
search.c re PR c++/19497 (Invalid declaration in template diagnosed too late) 2005-06-08 11:49:23 +00:00
semantics.c re PR c++/19497 (Invalid declaration in template diagnosed too late) 2005-06-08 11:49:23 +00:00
tree.c re PR c++/21619 (__builtin_constant_p(&"Hello"[0])?1:-1 not compile-time constant) 2005-06-05 16:33:43 +00:00
typeck.c re PR c++/10611 (operations on vector mode not recognized in C++) 2005-06-10 17:35:37 +00:00
typeck2.c diagnostic.c (warning): Accept parameter to classify warning option. 2005-04-23 17:29:07 -04:00