https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101575
--- Comment #14 from CVS Commits ---
The master branch has been updated by Bernd Edlinger :
https://gcc.gnu.org/g:96c82a16b2076891a9974d0f0e96a0b85fbc2df4
commit r12-2735-g96c82a16b2076891a9974d0f0e96a0b85fbc2df4
Author: Bernd Edlinger
Date:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101575
--- Comment #13 from Eric Botcazou ---
> one minor remark, while working on a patch, I became aware,
> that probably the same will happen when using -gdwarf-5
> with old binutils, since we have this code in dwarf2out.c:
People should stick to
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101575
--- Comment #12 from Bernd Edlinger ---
(In reply to Eric Botcazou from comment #1)
> Not going to be fixed, just stick to the default setting (DWARF 5).
one minor remark, while working on a patch, I became aware,
that probably the same will ha
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101575
--- Comment #11 from Bernd Edlinger ---
(In reply to Eric Botcazou from comment #10)
> > I can of course make the .loc go away. If you really want that.
> >
> > It is basically the DECL_SOURCE_LOCATION of an
> > otherwise ignored decl. If the
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101575
--- Comment #10 from Eric Botcazou ---
> I can of course make the .loc go away. If you really want that.
>
> It is basically the DECL_SOURCE_LOCATION of an
> otherwise ignored decl. If the DECL_SOURCE_LOCATION
> is UNKNOWN_LOCATION the functio
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101575
--- Comment #9 from Tom de Vries ---
(In reply to Eric Botcazou from comment #7)
> (> More specifically, it's gone because we have:
> > ...
> > $ more defs.s
> > .file "defs.adb"
> > .text
> > .Ltext0:
> > .align 2
> >
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101575
--- Comment #8 from Bernd Edlinger ---
I can of course make the .loc go away. If you really want that.
It is basically the DECL_SOURCE_LOCATION of an
otherwise ignored decl. If the DECL_SOURCE_LOCATION
is UNKNOWN_LOCATION the function should h
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101575
--- Comment #7 from Eric Botcazou ---
(> More specifically, it's gone because we have:
> ...
> $ more defs.s
> .file "defs.adb"
> .text
> .Ltext0:
> .align 2
> .globl defs__struct1IP
> .type defs__str
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101575
--- Comment #6 from Tom de Vries ---
(In reply to Eric Botcazou from comment #3)
> > Because ?
>
> No straightforward solution in DWARF < 5 and, therefore, not worth the
> hassle.
How about backporting the commit to gcc-11-branch? WDYT?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101575
--- Comment #5 from Tom de Vries ---
(In reply to Bernd Edlinger from comment #4)
> Hi,
>
> I think my commit e69ac020372 ("Add line debug info for virtual thunks")
> has a mitigating effect on this test case:
> due to such functions have DECL_
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101575
Bernd Edlinger changed:
What|Removed |Added
CC||bernd.edlinger at hotmail dot
de
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101575
Eric Botcazou changed:
What|Removed |Added
Component|debug |ada
--- Comment #3 from Eric Botcazou
12 matches
Mail list logo