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: [PATCH] Fix LTO bootstrap on i686-linux (problem with two Ldebug_info0 labels; PR bootstrap/48148)


Hi,

On Fri, 8 Apr 2011, Richard Guenther wrote:

> > > Sounds like this comment needs to be updated if there can be types 
> > > on the list as well.
> > 
> > On a closer look, this seems to be because LTO messes up types 
> > terribly, struct cpp_options's lang field doesn't have enum c_lang 
> > type, but enum prec whose TYPE_CONTEXT is c_parser_binary_expression 
> > function from c_parser.c.  So when trying to create DIE for 
> > cpp_options and stuff in it we end up with the surprising limbo die. 
> > Therefore, I'm withdrawing my patch and will look into this mess on 
> > Monday.
> 
> We are definitely unifying enum types too eagerly.  It's on my TODO to 
> fix that, but it had low priority sofar.

It's too eager "only" for debug info, and that is in a suboptimal state 
for LTO anyway.  early-debug-info will fix all of our problems.  ahem :-)


Ciao,
Michael.


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