This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix up assembly thunks with -gstabs+ (PR debug/54499)
- From: Richard Henderson <rth at redhat dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: Jason Merrill <jason at redhat dot com>, Cary Coutant <ccoutant at google dot com>, Jan Hubicka <jh at suse dot cz>, gcc-patches at gcc dot gnu dot org
- Date: Thu, 08 Nov 2012 12:07:50 -0800
- Subject: Re: [PATCH] Fix up assembly thunks with -gstabs+ (PR debug/54499)
- References: <20121108195506.GF1859@tucnak.redhat.com>
On 2012-11-08 11:55, Jakub Jelinek wrote:
> 2012-11-08 Jakub Jelinek <jakub@redhat.com>
>
> 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.
I recall mentioning at the time that I thought Cary's approach was error-prone.
Ok.
r~