This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: SH: cmpeqdi splitter messes up the CFG


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]