This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, ARM] Fix line number data for PIC register setup code
- From: Tom de Vries <Tom_deVries at mentor dot com>
- To: Richard Earnshaw <rearnsha at arm dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, Ulrich Weigand <uweigand at de dot ibm dot com>, Jakub Jelinek <jakub at redhat dot com>
- Date: Mon, 14 Oct 2013 09:00:51 +0200
- Subject: Re: [PATCH, ARM] Fix line number data for PIC register setup code
- Authentication-results: sourceware.org; auth=none
- References: <525B1BDD dot 2000306 at mentor dot com>
On 14/10/13 00:17, Tom de Vries wrote:
> This patch makes sure we emit insertions scheduled for the first real BB before
> NOTE_INSN_FUNCTION_BEG. As a consequence, it moves the PIC register setup code
> to before the NOTE_INSN_FUNCTION_BEG. This removes the second .loc, and the
> breakpoint of main ends up at line 8.
>
> Bootstrapped and regtested on x86_64 (ada inclusive), no issues found.
>
> Tested gdb with target arm-none-linux-gnueabi and CFLAGS_FOR_TARGET=-fPIC. The
> patch removes 174 FAILs.
>
> Re-testing gcc with target arm-none-linux-gnueabi atm.
>
No issues found.
OK for trunk?
Thanks,
- Tom