[PATCH][AArch64] Fix PR 56809
Kyrylo Tkachov
kyrylo.tkachov@arm.com
Wed Apr 3 16:33:00 GMT 2013
Hi all,
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?
Thanks,
Kyrill
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr56809_aarch64.patch
Type: application/octet-stream
Size: 456 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20130403/28ebcbad/attachment.obj>
More information about the Gcc-patches
mailing list