This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: optimize_mode_switching SEGV'ing on SH
- From: Richard Henderson <rth at redhat dot com>
- To: Jason R Thorpe <thorpej at wasabisystems dot com>, gcc-bugs at gcc dot gnu dot org, rakdver at atrey dot karlin dot mff dot cuni dot cz
- Date: Thu, 16 May 2002 19:21:55 -0700
- Subject: Re: optimize_mode_switching SEGV'ing on SH
- References: <20020516184238.F4613@dr-evil.shagadelic.org>
On Thu, May 16, 2002 at 06:42:39PM -0700, Jason R Thorpe wrote:
> - EXIT_BLOCK_PTR->sindex = last_basic_blocks;
> + EXIT_BLOCK_PTR->sindex = last_basic_block - 1;
Looking at the original code, this patch appears correct.
And let me give a big barf-ola to whoever wrote this
garbage in the first place.
r~