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.