https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77692
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2016-09-22 Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- Quite probably my change - I'll investigate (tomorrow). 2016-09-19 Richard Biener <rguent...@suse.de> * dwarf2out.c (early_dwarf_finished): New global. (set_early_dwarf::set_early_dwarf): Assert early_dwarf_finished is false. (dwarf2out_early_finish): Set early_dwarf_finished at the end, if called from LTO exit early. (dwarf2out_late_global_decl): When being during the early debug phase do not add locations but only const value attributes. Adjust the way we generate early DIEs for LTO. note the testcase is just typedef float FloatVect __attribute__((__vector_size__(16))); static FloatVect Foo = { 250000000.0, 0.0, 0.0, 0.0 }; where with optimization Foo is removed (obviously).