Re: [PATCH][LTO] Fix PR60060

2014-02-11 Thread Jan Hubicka
> > This fixes the ICE seen in PR60060 which stems from us asking to > output debug-info for a function-scope global twice - once via > emitting the function and its BLOCK-associated vars and once > via the debug-hook through lto_write_globals -> > emit_debug_global_declarations. > > The list of

[PATCH][LTO] Fix PR60060

2014-02-11 Thread Richard Biener
This fixes the ICE seen in PR60060 which stems from us asking to output debug-info for a function-scope global twice - once via emitting the function and its BLOCK-associated vars and once via the debug-hook through lto_write_globals -> emit_debug_global_declarations. The list of "global" variab