[Bug debug/94450] lto abstract variable emitted as concrete decl

2020-04-03 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94450 Tom de Vries changed: What|Removed |Added CC||tromey at gcc dot gnu.org --- Comment #13

[Bug debug/94450] lto abstract variable emitted as concrete decl

2020-04-03 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94450 --- Comment #12 from Tom de Vries --- (In reply to Tom de Vries from comment #10) > I'll file the actual ada example. PR94469 - "lto abstract variable emitted as concrete decl (ada test-case)"

[Bug debug/94450] lto abstract variable emitted as concrete decl

2020-04-03 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94450 --- Comment #11 from rguenther at suse dot de --- On Fri, 3 Apr 2020, vries at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94450 > > --- Comment #10 from Tom de Vries --- > (In reply to rguent...@suse.de from comment

[Bug debug/94450] lto abstract variable emitted as concrete decl

2020-04-03 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94450 --- Comment #10 from Tom de Vries --- (In reply to rguent...@suse.de from comment #9) > On Fri, 3 Apr 2020, vries at gcc dot gnu.org wrote: > > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94450 > > > > --- Comment #8 from Tom de Vries --- >

[Bug debug/94450] lto abstract variable emitted as concrete decl

2020-04-03 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94450 --- Comment #9 from rguenther at suse dot de --- On Fri, 3 Apr 2020, vries at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94450 > > --- Comment #8 from Tom de Vries --- > (In reply to Richard Biener from comment #7) >

[Bug debug/94450] lto abstract variable emitted as concrete decl

2020-04-03 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94450 --- Comment #8 from Tom de Vries --- (In reply to Richard Biener from comment #7) > The DW_TAG_imported_unit are now gone for GCC 10. So can we consider this > fixed? I'd like a PR to refer to at the to-be-added xfail in the gdb test-case (and

[Bug debug/94450] lto abstract variable emitted as concrete decl

2020-04-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94450 --- Comment #7 from Richard Biener --- The DW_TAG_imported_unit are now gone for GCC 10. So can we consider this fixed?

[Bug debug/94450] lto abstract variable emitted as concrete decl

2020-04-02 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94450 --- Comment #6 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:54af95767e887d63dc332731738e642536d87a48 commit r10-7521-g54af95767e887d63dc332731738e642536d87a48 Author: Richard Biener Date:

[Bug debug/94450] lto abstract variable emitted as concrete decl

2020-04-02 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94450 --- Comment #5 from Tom de Vries --- (In reply to Richard Biener from comment #1) > I guess the more correct DWARF would be to have the 13d DIE include > DW_AT_declaration? Well, currently the debug info contains two concrete symbols, one with a

[Bug debug/94450] lto abstract variable emitted as concrete decl

2020-04-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94450 --- Comment #4 from Richard Biener --- Created attachment 48168 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48168&action=edit patch to drop DW_TAG_imported_unit DIEs I'm testing this patch. Does it help?

[Bug debug/94450] lto abstract variable emitted as concrete decl

2020-04-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94450 --- Comment #3 from Richard Biener --- (In reply to Richard Biener from comment #2) > So the current situation is similar to that of Modifying the testcase to C99 inline int foo(int i) { static int j; j = i + 1; return j; } int bar(int i

[Bug debug/94450] lto abstract variable emitted as concrete decl

2020-04-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94450 --- Comment #2 from Richard Biener --- So the current situation is similar to that of static inline int foo(int i) { static int j; j = i + 1; return j; } int bar(int i) { return foo(i); } int baz(int i) { return foo(i); } here we ge

[Bug debug/94450] lto abstract variable emitted as concrete decl

2020-04-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94450 Richard Biener changed: What|Removed |Added Last reconfirmed||2020-04-02 Keywords|