PR c++/15044
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 24 May 2004 02:29:34 +0000 (02:29 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 24 May 2004 02:29:34 +0000 (02:29 +0000)
commite67a67ea884547a3da4d2d33b2aeff903d0276cb
tree53a75488b33cd796dfcbd46bc8916fe219c7f84b
parentce3af53703b54f2c0f79f107b3c55c52efc20b98
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/attrib15.C: New test.

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

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