From: Dustin M. <du...@se...> - 2001-10-02 14:27:13
|
Thanks! The new patch works great. Dustin. -----Original Message----- From: lin...@li... [mailto:lin...@li...]On Behalf Of NIIBE Yutaka Sent: Tuesday, October 02, 2001 12:35 AM To: Dustin McIntire; Linuxsh-Dev; Linux-Sh Subject: [linuxsh-dev] [linux-sh:01958] GCC 3.0.1 compiler seg fault 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. */ -- _______________________________________________ linuxsh-dev mailing list lin...@li... https://lists.sourceforge.net/lists/listinfo/linuxsh-dev |