This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: SH: cmpeqdi splitter messes up the CFG
- To: gcc-patches at gcc dot gnu dot org
- Subject: Re: SH: cmpeqdi splitter messes up the CFG
- From: kaz Kojima <kkojima at rr dot iij4u dot or dot jp>
- Date: Wed, 30 Aug 2000 07:40:22 +0900
- References: <orsnroq99w.fsf@guarana.lsd.ic.unicamp.br>
Alexandre Oliva <aoliva@redhat.com> wrote:
> The insn is only being split by the machine-specific reorg pass. It's
> too late by then. JUMP_LABEL isn't set, and, since
> INSN_ADDRESSES_SET_P already holds, insn_current_reference_address()
> crashes when dereferencing the JUMP_LABEL.
>
> In any case, I think the approach taken by my patch is simpler and
> superior.
I agree with you. It's easy to see though I could never think it.
Thank you for the explanations.
kaz