PR debug/54499
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 8 Nov 2012 20:15:06 +0000 (20:15 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 8 Nov 2012 20:15:06 +0000 (20:15 +0000)
commit32c7c682342b4f4a0cd2eb4a7c3ad0c32b60e872
tree7d1e599dafdd58e8d11721fe395f8d016c1e71aa
parentc5f21b95fe2dc1339d0e3f598927c2c2769a10e2
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193338 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cgraphunit.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/debug/pr54499.C [new file with mode: 0644]