Splitting call_insns
Alexandre Oliva
aoliva@redhat.com
Fri Nov 24 20:26:00 GMT 2000
On Nov 24, 2000, Richard Henderson <rth@redhat.com> wrote:
> On Thu, Nov 23, 2000 at 12:15:59PM -0200, Alexandre Oliva wrote:
>> However, we won't do PC-relative calls if optimization isn't
>> enabled, because otherwise the intermediate call pattern would
>> be split too late.
> I think you'd be better off running split_all_insns at the
> beginning of machine_dependent_reorg than have two methods
> of call generation.
Well, we already use the alternate call generation mechanism for
non-PIC and for SH1 code, so it's no big deal to keep it. And then,
claiming that using the PLT for a call is an optimization is
defensible :-)
But I'll look into splitting insns at machine_dependent_reorg()
entry. Probably only if optimize == 0.
Meanwhile, I'm checking in the bug fix as-is.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me
More information about the Gcc-patches
mailing list