re PR debug/54499 (GCC produces wrong debugging information, failure while assembling...
commit68a559809331d754474191b2272cc7e4a960b65c
authorJakub Jelinek <jakub@redhat.com>
Thu, 8 Nov 2012 20:15:06 +0000 (8 21:15 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 8 Nov 2012 20:15:06 +0000 (8 21:15 +0100)
tree7d1e599dafdd58e8d11721fe395f8d016c1e71aa
parent3ad2d621f5734d25a75ef3bfa27bb5efe832f066
re PR debug/54499 (GCC produces wrong debugging information, failure while assembling generated .s file)

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.

From-SVN: r193338
gcc/ChangeLog
gcc/cgraphunit.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/debug/pr54499.C [new file with mode: 0644]