This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ PATCH] Fix finish_compound_literal (PR c++/27491, 4.1/4.2 regression)
- From: Mark Mitchell <mark at codesourcery dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 16 May 2006 09:25:09 -0700
- Subject: Re: [C++ PATCH] Fix finish_compound_literal (PR c++/27491, 4.1/4.2 regression)
- References: <20060516160316.GI25570@devserv.devel.redhat.com>
Jakub Jelinek wrote:
> Hi!
>
> We ICE on the following testcase, because reshape_init changes a CONSTRUCTOR
> into some other tree node (on the first line into INTEGER_CST, on the latter
> two VAR_DECL) and TREE_HAS_CONSTRUCTOR is only valid for CONSTRUCTOR, while
> e.g. on VAR_DECL it means DECL_TINFO_P and the ICE is when the FE expects
> DECL_TINFO_P VAR_DECLs to have TREE_TYPE (DECL_NAME (decl)).
>
> Bootstrapped/regtested on i686-linux, ok for trunk/4.1?
OK.
--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713