]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/40373 (ICE with invalid destructor call)
authorJakub Jelinek <jakub@redhat.com>
Mon, 8 Jun 2009 17:02:17 +0000 (19:02 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 8 Jun 2009 17:02:17 +0000 (19:02 +0200)
commit09fa86feb40c7aefcbbcb812d6e063a5a7204674
treedb7a03ae6a965fe8c4ccd622c41e094e8a378eb9
parent0f828b4411cfd7e1db59c9d8d7374c7c1200e15b
re PR c++/40373 (ICE with invalid destructor call)

PR c++/40373
* call.c (check_dtor_name): Return false even if
get_type_value (name) is error_mark_node.

* g++.dg/template/dtor7.C: New test.

From-SVN: r148284
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/dtor7.C [new file with mode: 0644]