This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/54499] [4.8 Regression] GCC produces wrong debugging information, failure while assembling generated .s file
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 08 Nov 2012 20:15:12 +0000
- Subject: [Bug debug/54499] [4.8 Regression] GCC produces wrong debugging information, failure while assembling generated .s file
- Auto-submitted: auto-generated
- References: <bug-54499-4@http.gcc.gnu.org/bugzilla/>
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