public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/54499] New: GCC produces wrong debugging information, failure while assembling generated .s file
@ 2012-09-05 23:59 d.g.gorbachev at gmail dot com
2012-09-06 0:04 ` [Bug debug/54499] " d.g.gorbachev at gmail dot com
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: d.g.gorbachev at gmail dot com @ 2012-09-05 23:59 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54499
Bug #: 54499
Summary: GCC produces wrong debugging information, failure
while assembling generated .s file
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: debug
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: d.g.gorbachev@gmail.com
Created attachment 28138
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28138
Testcase
GCC 4.8.0 20120902 (experimental). Compile with `-gstabs+' option.
bug.s: Assembler messages:
bug.s:133: Error: can't resolve `.text._ZN2S3D1Ev' {.text._ZN2S3D1Ev section} -
`.LFBB3' {.text._ZN2S3D2Ev section}
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug debug/54499] GCC produces wrong debugging information, failure while assembling generated .s file
2012-09-05 23:59 [Bug debug/54499] New: GCC produces wrong debugging information, failure while assembling generated .s file d.g.gorbachev at gmail dot com
@ 2012-09-06 0:04 ` d.g.gorbachev at gmail dot com
2012-09-06 0:26 ` [Bug debug/54499] [4.8 Regression] " pinskia at gcc dot gnu.org
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: d.g.gorbachev at gmail dot com @ 2012-09-06 0:04 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54499
--- Comment #1 from Dmitry Gorbachev <d.g.gorbachev at gmail dot com> 2012-09-06 00:03:39 UTC ---
Created attachment 28139
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28139
Code generated by GCC
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug debug/54499] [4.8 Regression] GCC produces wrong debugging information, failure while assembling generated .s file
2012-09-05 23:59 [Bug debug/54499] New: GCC produces wrong debugging information, failure while assembling generated .s file d.g.gorbachev at gmail dot com
2012-09-06 0:04 ` [Bug debug/54499] " d.g.gorbachev at gmail dot com
@ 2012-09-06 0:26 ` pinskia at gcc dot gnu.org
2012-11-08 11:50 ` jakub at gcc dot gnu.org
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-09-06 0:26 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54499
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.8.0
Summary|GCC produces wrong |[4.8 Regression] GCC
|debugging information, |produces wrong debugging
|failure while assembling |information, failure while
|generated .s file |assembling generated .s
| |file
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-09-06 00:26:17 UTC ---
Is there a reason why you are using stabs+ debugging?
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug debug/54499] [4.8 Regression] GCC produces wrong debugging information, failure while assembling generated .s file
2012-09-05 23:59 [Bug debug/54499] New: GCC produces wrong debugging information, failure while assembling generated .s file d.g.gorbachev at gmail dot com
2012-09-06 0:04 ` [Bug debug/54499] " d.g.gorbachev at gmail dot com
2012-09-06 0:26 ` [Bug debug/54499] [4.8 Regression] " pinskia at gcc dot gnu.org
@ 2012-11-08 11:50 ` jakub at gcc dot gnu.org
2012-11-08 12:30 ` jakub at gcc dot gnu.org
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-11-08 11:50 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54499
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2012-11-08
CC| |jakub at gcc dot gnu.org
Ever Confirmed|0 |1
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-11-08 11:50:36 UTC ---
Broken by http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=190190
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug debug/54499] [4.8 Regression] GCC produces wrong debugging information, failure while assembling generated .s file
2012-09-05 23:59 [Bug debug/54499] New: GCC produces wrong debugging information, failure while assembling generated .s file d.g.gorbachev at gmail dot com
` (2 preceding siblings ...)
2012-11-08 11:50 ` jakub at gcc dot gnu.org
@ 2012-11-08 12:30 ` jakub at gcc dot gnu.org
2012-11-08 12:31 ` jakub at gcc dot gnu.org
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-11-08 12:30 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54499
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-11-08 12:30:21 UTC ---
Created attachment 28635
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28635
gcc48-pr54499.patch
That change looks very much broken to me, this should hopefully fix it
properly.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug debug/54499] [4.8 Regression] GCC produces wrong debugging information, failure while assembling generated .s file
2012-09-05 23:59 [Bug debug/54499] New: GCC produces wrong debugging information, failure while assembling generated .s file d.g.gorbachev at gmail dot com
` (3 preceding siblings ...)
2012-11-08 12:30 ` jakub at gcc dot gnu.org
@ 2012-11-08 12:31 ` jakub at gcc dot gnu.org
2012-11-08 20:15 ` jakub at gcc dot gnu.org
2012-11-08 20:18 ` jakub at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-11-08 12:31 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54499
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
AssignedTo|unassigned at gcc dot |jakub at gcc dot gnu.org
|gnu.org |
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug debug/54499] [4.8 Regression] GCC produces wrong debugging information, failure while assembling generated .s file
2012-09-05 23:59 [Bug debug/54499] New: GCC produces wrong debugging information, failure while assembling generated .s file d.g.gorbachev at gmail dot com
` (4 preceding siblings ...)
2012-11-08 12:31 ` jakub at gcc dot gnu.org
@ 2012-11-08 20:15 ` jakub at gcc dot gnu.org
2012-11-08 20:18 ` jakub at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-11-08 20:15 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54499
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-11-08 20:15:12 UTC ---
Author: jakub
Date: Thu Nov 8 20:15:06 2012
New Revision: 193338
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=193338
Log:
PR debug/54499
* cgraphunit.c (assemble_thunk): Don't call source_line debug hook
here, instead call insn_locations_{init,finalize} and initialize
prologue_location.
* g++.dg/debug/pr54499.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/debug/pr54499.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/cgraphunit.c
trunk/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug debug/54499] [4.8 Regression] GCC produces wrong debugging information, failure while assembling generated .s file
2012-09-05 23:59 [Bug debug/54499] New: GCC produces wrong debugging information, failure while assembling generated .s file d.g.gorbachev at gmail dot com
` (5 preceding siblings ...)
2012-11-08 20:15 ` jakub at gcc dot gnu.org
@ 2012-11-08 20:18 ` jakub at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-11-08 20:18 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54499
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-11-08 20:17:46 UTC ---
Fixed.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2012-11-08 20:18 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-05 23:59 [Bug debug/54499] New: GCC produces wrong debugging information, failure while assembling generated .s file d.g.gorbachev at gmail dot com
2012-09-06 0:04 ` [Bug debug/54499] " d.g.gorbachev at gmail dot com
2012-09-06 0:26 ` [Bug debug/54499] [4.8 Regression] " pinskia at gcc dot gnu.org
2012-11-08 11:50 ` jakub at gcc dot gnu.org
2012-11-08 12:30 ` jakub at gcc dot gnu.org
2012-11-08 12:31 ` jakub at gcc dot gnu.org
2012-11-08 20:15 ` jakub at gcc dot gnu.org
2012-11-08 20:18 ` jakub at gcc dot gnu.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).