This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r171748 - in /trunk/gcc: cp/ChangeLog cp/semant...
- From: jason at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 30 Mar 2011 20:29:16 -0000
- Subject: r171748 - in /trunk/gcc: cp/ChangeLog cp/semant...
Author: jason
Date: Wed Mar 30 20:29:13 2011
New Revision: 171748
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=171748
Log:
PR c++/48212
* semantics.c (non_const_var_error): Just return if DECL_INITIAL
is error_mark_node.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/regress/error-recovery1.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/semantics.c
trunk/gcc/testsuite/ChangeLog