PR c++/18124
commit2a03dcc3eff7c6fa1789a5724e35f471e0b13223
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 3 Nov 2004 02:48:44 +0000 (3 02:48 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 3 Nov 2004 02:48:44 +0000 (3 02:48 +0000)
tree9b03eb1ecacc97313559f4f706dc4a6cdffcee9a
parent1740345a670ffc761f73b131d909abd87033abda
PR c++/18124
* parser.c (cp_parser_type_parameter): Robustify.

PR c++/18155
* parser.c (cp_parser_single_declaration): Disallow template
typedefs.

PR c++/18177
* typeck.c (build_const_cast): Use error_operand_p.

PR c++/18124
* g++.dg/template/crash25.C: New test.

PR c++/18155
* g++.dg/template/typedef2.C: New test.
* g++.dg/parse/crash13.C: Adjust error markers.

PR c++/18177
* g++.dg/conversion/const3.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90016 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/cp/typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/conversion/const3.C [new file with mode: 0644]
gcc/testsuite/g++.dg/parse/crash13.C
gcc/testsuite/g++.dg/template/crash25.C [new file with mode: 0644]
gcc/testsuite/g++.dg/template/typedef2.C [new file with mode: 0644]