This is the mail archive of the gcc-bugs@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]

[Bug debug/77692] [7 regression] gcc.dg/debug/dwarf2/const-2b.c FAILs


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  <rguenther@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).

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