http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48212
--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> 2011-03-30 20:29:49 UTC --- Author: jason Date: Wed Mar 30 20:29:43 2011 New Revision: 171749 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=171749 Log: PR c++/48212 * semantics.c (non_const_var_error): Just return if DECL_INITIAL is error_mark_node. Added: branches/gcc-4_6-branch/gcc/testsuite/g++.dg/cpp0x/regress/error-recovery1.C Modified: branches/gcc-4_6-branch/gcc/cp/ChangeLog branches/gcc-4_6-branch/gcc/cp/semantics.c branches/gcc-4_6-branch/gcc/testsuite/ChangeLog