]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/18729 (ICE on invalid typedef)
authorNathan Sidwell <nathan@codesourcery.com>
Wed, 1 Dec 2004 16:37:32 +0000 (16:37 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Wed, 1 Dec 2004 16:37:32 +0000 (16:37 +0000)
commit07c65e005e3c402d07297b9ce4df2e5ef5f433e2
tree5a37eb2fb4fc35e6cc3cd6c36dce910c1b94477d
parentf8e7ffa67339a806d5ae5d8a3fb0f37353bd53e5
re PR c++/18729 (ICE on invalid typedef)

cp:
PR c++/18729
* parser.c (cp_parser_class_name): Check decl's type is not
error_mark_node.
testsuite:
PR C++/18729
* g++.dg/parse/crash20.C: New.

From-SVN: r91566
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/parse/crash20.C [new file with mode: 0644]