This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: builtin_setjmp_receiver expander for SH
On Apr 8, 2001, Richard Henderson <rth@redhat.com> wrote:
> On Sun, Apr 08, 2001 at 09:35:09AM +0900, kaz Kojima wrote:
>> + emit_insn (gen_GOTaddr2picreg ());
>> + emit_insn (gen_rtx_USE (VOIDmode, pic_offset_table_rtx));
> Why do you emit the use? The PIC register should be fixed
> (or you have other more serious problems) at which point I
> don't think we remove references to it.
Presumably because flow might delete restores after which the register
is not explicitly used. I don't think that's necessary, though. All
cases that need the PIC register to be properly set are marked as
such, so, if flow finds a restore is not necessary, it's very likely
that it really isn't.
--
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