From: NIIBE Y. <gn...@m1...> - 2001-10-02 07:35:24
|
For current snapshot of GCC 3.0 branch I cannot reproduce the problem. Here's a just a work around. --- gcc-sh-linux-3.0.1.orig/gcc/config/sh/sh.c +++ gcc-sh-linux-3.0.1/gcc/config/sh/sh.c @@ -2810,7 +2810,8 @@ if (! invert_jump (insn, label, 1)) abort (); /* Prevent reorg from undoing our splits. */ - gen_block_redirect (jump, bp->address += 2, 2); + if (!returnjump_p (jump)) + gen_block_redirect (jump, bp->address += 2, 2); } /* Fix up ADDR_DIFF_VECs. */ -- |