[Bug debug/97060] Missing DW_AT_declaration=1 in dwarf data

2020-12-02 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97060 Alexandre Oliva changed: What|Removed |Added CC||aoliva at gcc dot gnu.org --- Comment

[Bug debug/97060] Missing DW_AT_declaration=1 in dwarf data

2020-11-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97060 --- Comment #17 from CVS Commits --- The releases/gcc-10 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:3c45da4414884a5424484f5db1ab951d9de6 commit r10-9070-g3c45da4414884a5424484f5db1ab951d9de6 Author: Jason Merrill

[Bug debug/97060] Missing DW_AT_declaration=1 in dwarf data

2020-11-19 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97060 --- Comment #16 from H.J. Lu --- FWIW, I cherry-picked the fix onto vendors/redhat/gcc-10-branch branch. I can build 5.10 kernel with the fixed GCC.

[Bug debug/97060] Missing DW_AT_declaration=1 in dwarf data

2020-11-13 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97060 Jason Merrill changed: What|Removed |Added Target Milestone|--- |11.0 Resolution|---

[Bug debug/97060] Missing DW_AT_declaration=1 in dwarf data

2020-11-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97060 --- Comment #14 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:87b7d45e358e4df93b6a93b2e7a55b123ea76f5d commit r11-4933-g87b7d45e358e4df93b6a93b2e7a55b123ea76f5d Author: Jason Merrill Date: T

[Bug debug/97060] Missing DW_AT_declaration=1 in dwarf data

2020-10-14 Thread jolsa at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97060 --- Comment #13 from Jiri Olsa --- hi, any update on the fix? I'm seeing the bug now in fedora 32 with: $ gcc --version gcc (GCC) 10.2.1 20201005 (Red Hat 10.2.1-5) thanks, jirka

[Bug debug/97060] Missing DW_AT_declaration=1 in dwarf data

2020-09-17 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97060 Jakub Jelinek changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment #12

[Bug debug/97060] Missing DW_AT_declaration=1 in dwarf data

2020-09-17 Thread jolsa at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97060 --- Comment #11 from Jiri Olsa --- (In reply to Jakub Jelinek from comment #10) > RHEL8 uses gcc 8 which is not affected (unless one uses DTS/GTS). > Also, it is unclear for what in particular pahole or what wants to use > DW_AT_declaration. pah

[Bug debug/97060] Missing DW_AT_declaration=1 in dwarf data

2020-09-17 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97060 --- Comment #10 from Jakub Jelinek --- RHEL8 uses gcc 8 which is not affected (unless one uses DTS/GTS). Also, it is unclear for what in particular pahole or what wants to use DW_AT_declaration. DW_TAG_subprogram of a real definition (that hasn't

[Bug debug/97060] Missing DW_AT_declaration=1 in dwarf data

2020-09-17 Thread jolsa at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97060 --- Comment #9 from Jiri Olsa --- (In reply to Jakub Jelinek from comment #6) > Also, to avoid confusion, upstream 10 branch is not affected, but in 10-RH > we've backported the PR96383 changes from the trunk. Is this gcc going to RHEL8? that co

[Bug debug/97060] Missing DW_AT_declaration=1 in dwarf data

2020-09-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97060 --- Comment #8 from Jakub Jelinek --- Unfortunately the patch doesn't really bootstrap. Small testcase that ICEs: struct S { virtual ~S (); } s; This is on the external S::~S() declaration, which has non-NULL decl_ultimate_origin (the abstract de

[Bug debug/97060] Missing DW_AT_declaration=1 in dwarf data

2020-09-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97060 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug debug/97060] Missing DW_AT_declaration=1 in dwarf data

2020-09-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97060 Jakub Jelinek changed: What|Removed |Added Version|10.2.1 |11.0 --- Comment #6 from Jakub Jelinek

[Bug debug/97060] Missing DW_AT_declaration=1 in dwarf data

2020-09-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97060 --- Comment #5 from Jakub Jelinek --- So perhaps completely untested: --- gcc/dwarf2out.c.jj 2020-09-07 13:17:58.383594248 +0200 +++ gcc/dwarf2out.c 2020-09-16 10:53:44.353632197 +0200 @@ -26547,7 +26547,8 @@ dwarf2out_early_global_decl (tre

[Bug debug/97060] Missing DW_AT_declaration=1 in dwarf data

2020-09-16 Thread jolsa at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97060 --- Comment #4 from Jiri Olsa --- (In reply to Jakub Jelinek from comment #3) > So this is really just something like: -O2 -g -dA: > extern int foo (unsigned int, unsigned int); > > int > bar (void) > { > foo (1, 2); > return 0; > } > > whe

[Bug debug/97060] Missing DW_AT_declaration=1 in dwarf data

2020-09-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97060 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org Sta

[Bug debug/97060] Missing DW_AT_declaration=1 in dwarf data

2020-09-16 Thread jolsa at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97060 --- Comment #2 from Jiri Olsa --- Created attachment 49223 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49223&action=edit fs/init.i

[Bug debug/97060] Missing DW_AT_declaration=1 in dwarf data

2020-09-15 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97060 Richard Biener changed: What|Removed |Added Last reconfirmed||2020-09-16 Ever confirmed|0