This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: vax optimization breakage?
- To: Richard Henderson <rth at cygnus dot com>
- Subject: Re: vax optimization breakage?
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Thu, 27 Jul 2000 10:23:11 -0600
- cc: Brandon Creighton <bjc at pobox dot com>, gcc at gcc dot gnu dot org
- Reply-To: law at cygnus dot com
In message <20000727015020.A26441@cygnus.com>you write:
> On Sun, Jul 23, 2000 at 06:00:33PM -0600, Jeffrey A Law wrote:
> > Thanks. The problem is the jump optimizer is turning jump_insn 16 into
> > a RETURN.
>
> No, that's all kosher. jump is allowed to make that transformation
> any time HAVE_return is true. Which for VAX is always.
>
> The problem is that the LOOP_END note somehow fell below the
> return insn. This happens in .01.sibling, so presumably it
> happened when running find_basic_blocks. Anyway, the result
> is that loop emits the cleanup code after the return, which
> of course gets removed as dead code.
I forgot about .01.sibling :-)
jeff