/cp
commitfcd591157cba8dfef51f66d6bf161a511060f1b2
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 30 Jan 2014 14:32:25 +0000 (30 14:32 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 30 Jan 2014 14:32:25 +0000 (30 14:32 +0000)
tree37407f85991be736888c610604b8114db6e88d69
parentaa005ede28ab74ce037e99ed7861e513d151bc0d
/cp
2014-01-30  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/58843
* typeck.c (lookup_destructor): Check dtor_type for error_mark_node.

/testsuite
2014-01-30  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/58843
* g++.dg/lookup/crash8.C: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@207305 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/lookup/crash8.C [new file with mode: 0644]