This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [C++ PATCH] Fix finish_compound_literal (PR c++/27491, 4.1/4.2 regression)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]