gcc/gcc/cp
Mark Mitchell 44370687a5 re PR c++/18389 (ICE on struct declaration in for statement)
PR c++/18389
	* decl.c (start_decl): Make sure to set *pop_scope_p.  Return
	error_mark_node to indicate errors.

	PR c++/18429
	* parser.c (cp_parser_direct_declarator): Disallow non-constant
	array bounds when not inside a function.

	PR c++/18436
	* pt.c (tsubst_copy_and_build): Do not do Koenig lookup when an
	unqualified name resolves to a member function.

	PR c++/18407
	* pt.c (tsubst_copy_and_build): Handle qualified names used from a
	derived class correctly.

	* decl2.c (import_export_decl): Fix typo in comment.
	* tree.c (pod_type_p): Likewise.

	PR c++/18389
	* g++.dg/parse/cond1.C: New test.

	PR c++/18429
	* g++.dg/template/array9.C: New test.
	* g++.dg/ext/vla1.C: Adjust error messages.
	* g++.dg/ext/vlm1.C: Likewise.
	* g++.dg/template/crash2.C: Likewise.

	PR c++/18436
	* g++.dg/template/call3.C: New test.

	PR c++/18407
	* g++.dg/template/ptrmem11.C: New test.

From-SVN: r90545
2004-11-12 21:47:13 +00:00
..
ChangeLog re PR c++/18389 (ICE on struct declaration in for statement) 2004-11-12 21:47:13 +00:00
ChangeLog.1 ChangeLog: Fix typos. 2003-12-13 04:28:50 +00:00
ChangeLog.2 Rotate ChangeLog. 2004-01-01 00:43:21 +00:00
ChangeLog.3 Fixes formatting in a couple of entries of mines 2004-02-02 18:55:07 +00:00
ChangeLog.egcs
ChangeLog.tree-ssa Merge tree-ssa-20020619-branch into mainline. 2004-05-13 02:41:07 -04:00
Make-lang.in Speed up walk_tree by introducing a special-purpose hash table. 2004-10-14 23:15:29 +00:00
NEWS Remove 3.4 change list, point to gcc-3.4/changes.html 2003-08-16 13:49:27 +00:00
call.c builtins.c, [...]: Avoid "`" as left quote, using "'" or %q, %< and %> as appropriate. 2004-11-09 10:13:30 +00:00
cfns.gperf * cfns.gperf: Add '%%' delimiter to placate gperf 3.0. 2003-07-25 13:57:43 +00:00
cfns.h * cfns.h: Rebuilt. 2003-07-26 19:31:30 +00:00
class.c builtins.c, [...]: Avoid "`" as left quote, using "'" or %q, %< and %> as appropriate. 2004-11-09 10:13:30 +00:00
config-lang.in cp-tree.h (IDENTIFIER_VALUE): Remove. 2004-07-14 15:34:30 +00:00
cp-gimplify.c alias.c (find_base_decl): Remove unreachable case '3' block. 2004-09-17 21:55:02 +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 tree-optimization/18184 (Tree optimizers ignore pointer modes) 2004-11-04 20:11:13 +00:00
cp-objcp-common.h c-lang.c (LANG_HOOKS_TYPES_COMPATIBLE_P): Remove. 2004-11-02 20:29:21 +00:00
cp-tree.def alias.c (find_base_decl): Remove unreachable case '3' block. 2004-09-17 21:55:02 +00:00
cp-tree.h re PR c++/18143 (Duplicated thunk with a huge member in the hierarchy) 2004-11-10 17:34:47 +00:00
cvt.c DR 49, 100 2004-11-04 13:07:35 +00:00
cxx-pretty-print.c alias.c (find_base_decl): Remove unreachable case '3' block. 2004-09-17 21:55:02 +00:00
cxx-pretty-print.h c-pretty-print.c (pp_c_left_bracket): Make a function. 2004-05-31 15:25:51 +00:00
decl.c re PR c++/18389 (ICE on struct declaration in for statement) 2004-11-12 21:47:13 +00:00
decl.h re PR c++/16518 (mutable specifier only applies to first item in declaration list) 2004-07-13 21:11:52 +00:00
decl2.c re PR c++/18389 (ICE on struct declaration in for statement) 2004-11-12 21:47:13 +00:00
dump.c * dump.c, g++spec.c, repo.c: Update copyright. 2004-10-15 14:49:30 +00:00
error.c builtins.c, [...]: Avoid "`" as left quote, using "'" or %q, %< and %> as appropriate. 2004-11-09 10:13:30 +00:00
except.c Convert diagnostics to use quoting flag q 4/n 2004-10-04 15:07:50 +00:00
expr.c re PR c++/15471 (Incorrect member pointer offsets in anonymous structs/unions) 2004-05-28 23:34:39 +00:00
friend.c re PR c++/13495 (Friendship to class nested within a template is broken) 2004-10-20 16:20:50 +00:00
g++spec.c * dump.c, g++spec.c, repo.c: Update copyright. 2004-10-15 14:49:30 +00:00
init.c re PR c++/18369 (Segfault on braced new) 2004-11-10 17:01:00 +00:00
lang-specs.h * lang-specs.h: Add missing initializers for .ii. 2004-05-30 20:04:30 +02:00
lex.c class.c, [...]: Fix comment formatting. 2004-11-08 14:48:02 +00:00
mangle.c builtins.c, [...]: Avoid "`" as left quote, using "'" or %q, %< and %> as appropriate. 2004-11-09 10:13:30 +00:00
method.c re PR c++/18143 (Duplicated thunk with a huge member in the hierarchy) 2004-11-10 17:34:47 +00:00
name-lookup.c class.c, [...]: Fix comment formatting. 2004-11-08 14:48:02 +00:00
name-lookup.h class.c, [...]: Fix comment typos. 2004-09-10 11:12:15 +00:00
operators.def re PR c++/11437 (ICE in lookup_name_real) 2003-07-11 23:01:53 +00:00
optimize.c target-def.h (TARGET_CXX_CDTOR_RETURNS_THIS): Define. 2004-08-04 15:33:51 +00:00
parser.c re PR c++/18389 (ICE on struct declaration in for statement) 2004-11-12 21:47:13 +00:00
pt.c re PR c++/18389 (ICE on struct declaration in for statement) 2004-11-12 21:47:13 +00:00
ptree.c cp-tree.h (struct lang_type_header): Remove uses_multiple_inheritance field. 2004-09-21 15:39:00 +00:00
repo.c Convert diagnostics to use quoting flag q 9/n 2004-11-01 09:47:59 +00:00
rtti.c cp-tree.h (UNIQUELY_DERIVED_FROM_P): Adjust lookup_base call. 2004-10-18 17:21:36 +00:00
search.c builtins.c, [...]: Avoid "`" as left quote, using "'" or %q, %< and %> as appropriate. 2004-11-09 10:13:30 +00:00
semantics.c builtins.c, [...]: Avoid "`" as left quote, using "'" or %q, %< and %> as appropriate. 2004-11-09 10:13:30 +00:00
tree.c re PR c++/18389 (ICE on struct declaration in for statement) 2004-11-12 21:47:13 +00:00
typeck.c typeck.c (cxx_mark_addressable): Add braces around the first if. 2004-11-10 19:13:03 -08:00
typeck2.c class.c, [...]: Fix comment formatting. 2004-11-08 14:48:02 +00:00