re PR target/20561 (Error compiling jdtcore.jar on powerpc)
authorJakub Jelinek <jakub@redhat.com>
Tue, 22 Mar 2005 13:29:29 +0000 (14:29 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 22 Mar 2005 13:29:29 +0000 (14:29 +0100)
commitb2a6a2fb642ff3deaf4ac102ebca75e96ed9d1e9
tree27cfa1f3413445ef3163b5d474ce0e9ab308b803
parent37048601f7fed81a6cef3dd46dac2280b855b53c
re PR target/20561 (Error compiling jdtcore.jar on powerpc)

PR target/20561
* cfglayout.c (reemit_insn_block_notes): Don't put block notes in
between jump table and its label.
* final.c (shorten_branches): Handle notes in between ADDR_VEC
resp. ADDR_DIFF_VEC and the label preceeding it.
(final_scan_insn): Likewise.  Ensure ADDR_VEC resp. ADDR_DIFF_VEC
is emitted in the right section.

* gcc.dg/20050321-2.c: New test.

From-SVN: r96867
gcc/ChangeLog
gcc/cfglayout.c
gcc/final.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/20050321-2.c [new file with mode: 0644]