Re: [PATCH][LTO] Fix PR48207, ICE in lhd_set_decl_assembler_name

2011-04-19 Thread Diego Novillo
On Tue, Apr 19, 2011 at 06:51, Richard Guenther wrote: > 2011-04-19  Richard Guenther   > >        PR lto/48207 >        * tree.c (free_lang_data): Do not reset the decl-assembler-name >        langhook. > >        * g++.dg/lto/pr48207_0.C: New testcase. OK, if it's only problematic with debug i

[PATCH][LTO] Fix PR48207, ICE in lhd_set_decl_assembler_name

2011-04-19 Thread Richard Guenther
This avoids ICEing in the default decl-assembler-name hook during compile-time. We are not yet prepared for a world where all important mangling is done before/during free-lang-data, and the default langhook implementation surely isn't the one that would assert so. The following patch simply ret