]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/18389 (ICE on struct declaration in for statement)
authorMark Mitchell <mark@codesourcery.com>
Fri, 12 Nov 2004 21:57:31 +0000 (21:57 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Fri, 12 Nov 2004 21:57:31 +0000 (21:57 +0000)
commit8c3ca8fa5973708e34a4b377f81b7c070d4f3329
tree88e0f687971e99f9b23cc993d4cfa1bd1db7f213
parent10a516024ca2ce17006b0682943a339af6859287
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++/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++/18436
* g++.dg/template/call3.C: New test.

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

From-SVN: r90547
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/cp/pt.c
gcc/testsuite/ChangeLog