This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r161645 - in /branches/gcc-4_5-branch/gcc: cp/C...
- From: paolo at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 30 Jun 2010 22:06:30 -0000
- Subject: r161645 - in /branches/gcc-4_5-branch/gcc: cp/C...
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.carlini@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.carlini@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