This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][AArch64] Fix PR 56809
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Kyrylo Tkachov <kyrylo dot tkachov at arm dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, Marcus Shawcroft <Marcus dot Shawcroft at arm dot com>
- Date: Wed, 3 Apr 2013 18:36:55 +0200
- Subject: Re: [PATCH][AArch64] Fix PR 56809
- References: <019e01ce307d$08306e40$18914ac0$ at tkachov@arm.com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Wed, Apr 03, 2013 at 04:07:50PM +0100, Kyrylo Tkachov wrote:
> This patch fixes a PR that was exposed in the recent jump table
> reorganisation.
> We should use next_active_insn instead of next_real_insn in the jump table
> handling code.
>
> This fixes the incorrect assembly generation that we get when building
> newlib for aarch64.
>
> Tested aarch64-none-elf.
> A testcase to gcc.dg is added with the separate arm patch.
>
> Ok for trunk?
Ok, thanks.
> gcc/ChangeLog
>
> 2013-04-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
>
> PR target/56809
> * config/aarch64/aarch64.c (is_jump_table): Use next_active_insn
> instead of
> next_real_insn.
Jakub