This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch to improve local-alloc invariant handling
- To: rth at cygnus dot com
- Subject: Re: Patch to improve local-alloc invariant handling
- From: John Wehle <john at feith dot com>
- Date: Mon, 23 Oct 2000 00:30:35 -0400 (EDT)
- Cc: law at cygnus dot com, gcc-patches at gcc dot gnu dot org
> I'm interested in hearing other solutions.
I can probably have equiv_init_movable_p check REG_N_CALLS_CROSSED for
the pseudo register and if a call clobbered register is used as a source.
This should allow:
> * rtlanal.c (rtx_unstable_p, rtx_varies_p): Don't consider pic
> register stable if PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
to be backed out, though having now seen this problem I do wonder
if perhaps your change should simply be left in to prevent other
possible problems.
-- John
-------------------------------------------------------------------------
| Feith Systems | Voice: 1-215-646-8000 | Email: john@feith.com |
| John Wehle | Fax: 1-215-540-5495 | |
-------------------------------------------------------------------------