This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ PATCH] Fix error recovery in cp_finish_decl (PR c++/37348)
- From: Mark Mitchell <mark at codesourcery dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: Jason Merrill <jason at redhat dot com>, gcc-patches at gcc dot gnu dot org
- Date: Wed, 03 Sep 2008 06:14:36 -0700
- Subject: Re: [C++ PATCH] Fix error recovery in cp_finish_decl (PR c++/37348)
- References: <20080903125742.GI32376@hs20-bc2-1.build.redhat.com>
Jakub Jelinek wrote:
> 2008-09-03 Jakub Jelinek <jakub@redhat.com>
>
> PR c++/37348
> * decl.c (cp_finish_decl): Only set
> DECL_INITIALIZED_BY_CONSTANT_EXPRESSION_P if decl is VAR_DECL.
>
> * g++.dg/parse/crash45.C: New test.
OK.
--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713