------- Comment #4 from paolo at gcc dot gnu dot org 2010-06-30 22:06 ------- Subject: Bug 44628
Author: paolo Date: Wed Jun 30 22:06:28 2010 New Revision: 161645 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=161645 Log: /cp 2010-06-30 Paolo Carlini <paolo.carl...@oracle.com> PR c++/44628 * typeck.c (cp_build_unary_op): Early return error_mark_node when arg is NULL_TREE too. * call.c (convert_class_to_reference): Return error_mark_node when expr is NULL_TREE. /testsuite 2010-06-30 Paolo Carlini <paolo.carl...@oracle.com> PR c++/44628 * g++.dg/template/crash97.C: New. Added: branches/gcc-4_5-branch/gcc/testsuite/g++.dg/template/crash97.C Modified: branches/gcc-4_5-branch/gcc/cp/ChangeLog branches/gcc-4_5-branch/gcc/cp/call.c branches/gcc-4_5-branch/gcc/cp/typeck.c branches/gcc-4_5-branch/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44628