public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/18856] New: Missing .loc information after prologue
@ 2004-12-06 18:49 tausq at debian dot org
2004-12-06 18:50 ` [Bug debug/18856] " tausq at debian dot org
` (8 more replies)
0 siblings, 9 replies; 10+ messages in thread
From: tausq at debian dot org @ 2004-12-06 18:49 UTC (permalink / raw)
To: gcc-bugs
The attached program is extracted from the gdb testsuite (gdb.base/annota3.c)
According to Dan, the code generated by gcc is missing a .loc directive:
http://sources.redhat.com/ml/gdb-patches/2004-12/msg00143.html
i.e. gcc generates:
.loc 1 6 0
handle_USR1:
.PROC
.CALLINFO FRAME=64,NO_CALLS,SAVE_SP,ENTRY_GR=3
.ENTRY
copy %r3,%r1
.LCFI0:
copy %r30,%r3
.LCFI1:
stwm %r1,64(%r30)
.LCFI2:
stw %r26,-36(%r3)
ldo 64(%r3),%r30
ldwm -64(%r30),%r3
bv,n %r0(%r2)
.EXIT
.PROCEND
but there should be another
.loc 1 6 0
before the ldo insn.
gcc-3.4 handles this properly.
--
Summary: Missing .loc information after prologue
Product: gcc
Version: 3.3.5
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: debug
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: tausq at debian dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: hppa-unknown-linux
GCC host triplet: hppa-unknown-linux
GCC target triplet: hppa-unknown-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18856
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug debug/18856] Missing .loc information after prologue
2004-12-06 18:49 [Bug debug/18856] New: Missing .loc information after prologue tausq at debian dot org
@ 2004-12-06 18:50 ` tausq at debian dot org
2004-12-06 18:51 ` tausq at debian dot org
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: tausq at debian dot org @ 2004-12-06 18:50 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From tausq at debian dot org 2004-12-06 18:50 -------
Created an attachment (id=7692)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7692&action=view)
test case
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18856
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug debug/18856] Missing .loc information after prologue
2004-12-06 18:49 [Bug debug/18856] New: Missing .loc information after prologue tausq at debian dot org
2004-12-06 18:50 ` [Bug debug/18856] " tausq at debian dot org
@ 2004-12-06 18:51 ` tausq at debian dot org
2004-12-06 20:51 ` [Bug debug/18856] [3.3 only] " pinskia at gcc dot gnu dot org
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: tausq at debian dot org @ 2004-12-06 18:51 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Known to work| |3.4.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18856
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug debug/18856] [3.3 only] Missing .loc information after prologue
2004-12-06 18:49 [Bug debug/18856] New: Missing .loc information after prologue tausq at debian dot org
2004-12-06 18:50 ` [Bug debug/18856] " tausq at debian dot org
2004-12-06 18:51 ` tausq at debian dot org
@ 2004-12-06 20:51 ` pinskia at gcc dot gnu dot org
2004-12-06 21:34 ` [Bug debug/18856] [3.3 only, regression] " tausq at debian dot org
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-06 20:51 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |wrong-debug
Summary|Missing .loc information |[3.3 only] Missing .loc
|after prologue |information after prologue
Target Milestone|--- |3.3.6
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18856
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug debug/18856] [3.3 only, regression] Missing .loc information after prologue
2004-12-06 18:49 [Bug debug/18856] New: Missing .loc information after prologue tausq at debian dot org
` (2 preceding siblings ...)
2004-12-06 20:51 ` [Bug debug/18856] [3.3 only] " pinskia at gcc dot gnu dot org
@ 2004-12-06 21:34 ` tausq at debian dot org
2004-12-06 21:35 ` [Bug debug/18856] [3.3 " pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: tausq at debian dot org @ 2004-12-06 21:34 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Known to work|3.4.2 |3.0.4 3.4.2
Summary|[3.3 only] Missing .loc |[3.3 only, regression]
|information after prologue |Missing .loc information
| |after prologue
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18856
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug debug/18856] [3.3 regression] Missing .loc information after prologue
2004-12-06 18:49 [Bug debug/18856] New: Missing .loc information after prologue tausq at debian dot org
` (3 preceding siblings ...)
2004-12-06 21:34 ` [Bug debug/18856] [3.3 only, regression] " tausq at debian dot org
@ 2004-12-06 21:35 ` pinskia at gcc dot gnu dot org
2004-12-07 2:33 ` danglin at gcc dot gnu dot org
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-06 21:35 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Summary|[3.3 only, regression] |[3.3 regression] Missing
|Missing .loc information |.loc information after
|after prologue |prologue
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18856
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug debug/18856] [3.3 regression] Missing .loc information after prologue
2004-12-06 18:49 [Bug debug/18856] New: Missing .loc information after prologue tausq at debian dot org
` (4 preceding siblings ...)
2004-12-06 21:35 ` [Bug debug/18856] [3.3 " pinskia at gcc dot gnu dot org
@ 2004-12-07 2:33 ` danglin at gcc dot gnu dot org
2004-12-07 3:04 ` danglin at gcc dot gnu dot org
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: danglin at gcc dot gnu dot org @ 2004-12-07 2:33 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From danglin at gcc dot gnu dot org 2004-12-07 02:33 -------
The exact position of the end of the prologue is rather indeterminate as
scheduling blurs it. In the example, the %r26 register save was originally
generated after the stack adjustment but scheduling has interchanged the stw
and ldo.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |danglin at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18856
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug debug/18856] [3.3 regression] Missing .loc information after prologue
2004-12-06 18:49 [Bug debug/18856] New: Missing .loc information after prologue tausq at debian dot org
` (5 preceding siblings ...)
2004-12-07 2:33 ` danglin at gcc dot gnu dot org
@ 2004-12-07 3:04 ` danglin at gcc dot gnu dot org
2004-12-07 19:00 ` pinskia at gcc dot gnu dot org
2005-04-30 13:12 ` gdr at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: danglin at gcc dot gnu dot org @ 2004-12-07 3:04 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From danglin at gcc dot gnu dot org 2004-12-07 03:04 -------
Sorry, forget that last comment. the ldo is actually part of the epilogue.
The .loc should be after the stw.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18856
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug debug/18856] [3.3 regression] Missing .loc information after prologue
2004-12-06 18:49 [Bug debug/18856] New: Missing .loc information after prologue tausq at debian dot org
` (6 preceding siblings ...)
2004-12-07 3:04 ` danglin at gcc dot gnu dot org
@ 2004-12-07 19:00 ` pinskia at gcc dot gnu dot org
2005-04-30 13:12 ` gdr at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-07 19:00 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-12-07 19:00:27
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18856
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug debug/18856] [3.3 regression] Missing .loc information after prologue
2004-12-06 18:49 [Bug debug/18856] New: Missing .loc information after prologue tausq at debian dot org
` (7 preceding siblings ...)
2004-12-07 19:00 ` pinskia at gcc dot gnu dot org
@ 2005-04-30 13:12 ` gdr at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: gdr at gcc dot gnu dot org @ 2005-04-30 13:12 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From gdr at gcc dot gnu dot org 2005-04-30 13:12 -------
work for 3.4.x, won't fix in 3.3.x
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WONTFIX
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18856
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2005-04-30 13:12 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-06 18:49 [Bug debug/18856] New: Missing .loc information after prologue tausq at debian dot org
2004-12-06 18:50 ` [Bug debug/18856] " tausq at debian dot org
2004-12-06 18:51 ` tausq at debian dot org
2004-12-06 20:51 ` [Bug debug/18856] [3.3 only] " pinskia at gcc dot gnu dot org
2004-12-06 21:34 ` [Bug debug/18856] [3.3 only, regression] " tausq at debian dot org
2004-12-06 21:35 ` [Bug debug/18856] [3.3 " pinskia at gcc dot gnu dot org
2004-12-07 2:33 ` danglin at gcc dot gnu dot org
2004-12-07 3:04 ` danglin at gcc dot gnu dot org
2004-12-07 19:00 ` pinskia at gcc dot gnu dot org
2005-04-30 13:12 ` gdr at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).