http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58843
--- Comment #2 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> --- Author: paolo Date: Thu Jan 30 14:32:25 2014 New Revision: 207305 URL: http://gcc.gnu.org/viewcvs?rev=207305&root=gcc&view=rev Log: /cp 2014-01-30 Paolo Carlini <paolo.carl...@oracle.com> PR c++/58843 * typeck.c (lookup_destructor): Check dtor_type for error_mark_node. /testsuite 2014-01-30 Paolo Carlini <paolo.carl...@oracle.com> PR c++/58843 * g++.dg/lookup/crash8.C: New. Added: trunk/gcc/testsuite/g++.dg/lookup/crash8.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/typeck.c trunk/gcc/testsuite/ChangeLog