PR c++/15044
commit7835afaf39f098db96b33870f71dc69786355191
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 24 May 2004 02:22:18 +0000 (24 02:22 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 24 May 2004 02:22:18 +0000 (24 02:22 +0000)
tree77efbe9fed863b4df2d68e274c3323940f410446
parent728c462717ad3691d9618cdf47fdbb10176db5d8
PR c++/15044
* parser.c (cp_parser_class_head): Robustify.

PR c++/15317
* parser.c (cp_parser_decl_specifier_seq): Correct error in
comment.
(cp_parser_constructor_declarator_p): Treat attributes
as decl-specifiers.

PR c++/15329
* typeck.c (build_unary_op): Do not attempt to resolve casts to
base classes in templates.

PR c++/15044
* g++.dg/template/error12.C: New test.

PR c++/15317
* g++.dg/ext/attrib14.C: New test.

PR c++/15329
* g++.dg/template/ptrmem9.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-3_4-branch@82188 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/cp/typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ext/attrib14.C
gcc/testsuite/g++.dg/template/error12.C [new file with mode: 0644]
gcc/testsuite/g++.dg/template/ptrmem9.C [new file with mode: 0644]