[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/28149] debug info with wrong file association
From: |
amodra at gmail dot com |
Subject: |
[Bug gas/28149] debug info with wrong file association |
Date: |
Fri, 17 Sep 2021 02:03:57 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=28149
Alan Modra <amodra at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Assignee|unassigned at sourceware dot org |amodra at gmail dot com
--- Comment #4 from Alan Modra <amodra at gmail dot com> ---
I can reproduce the comment #3 behaviour only when using -Wa,-gdwarf or similar
gas options when using gcc-10. gcc-11 and gcc-12 pass -gdwarf-5 to gas. That
seems to be the source of these problems, which is that -gdwarf* passed to gas
means not only to select the DWARF level but also have gas generate its own
DWARF line info.
So why is gcc passing -gdwarf-5 to gas? That seems quite silly! Can't gas
figure the dwarf level out itself? Note that current gas decides on dwarf5 if
seeing a .file or .loc specifying file 0.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug gas/28149] debug info with wrong file association,
amodra at gmail dot com <=
- [Bug gas/28149] debug info with wrong file association, i at maskray dot me, 2021/09/17
- [Bug gas/28149] debug info with wrong file association, bernd.edlinger at hotmail dot de, 2021/09/17
- [Bug gas/28149] debug info with wrong file association, cvs-commit at gcc dot gnu.org, 2021/09/17
- [Bug gas/28149] debug info with wrong file association, cvs-commit at gcc dot gnu.org, 2021/09/17
- [Bug gas/28149] debug info with wrong file association, amodra at gmail dot com, 2021/09/17
- [Bug gas/28149] debug info with wrong file association, amodra at gmail dot com, 2021/09/17
- [Bug gas/28149] debug info with wrong file association, cvs-commit at gcc dot gnu.org, 2021/09/19