This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch to fix mips GOT overflow
- From: Richard Henderson <rth at redhat dot com>
- To: Richard Sandiford <rsandifo at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sat, 27 Sep 2003 21:26:15 -0700
- Subject: Re: Patch to fix mips GOT overflow
- References: <wvn3ceih2iw.fsf@talisman.cambridge.redhat.com>
On Sat, Sep 27, 2003 at 12:52:23PM +0100, Richard Sandiford wrote:
> Combine used to optimise this case, but it expects the first operand of
> a LO_SUM to be fed by a HIGH, not $gp. I'm working on a patch to make
> it more general.
You'll notice that Alpha doesn't expose the gp until after
reload. Thus combine only sees symbol_ref and is happy to
wrap that in a const.
r~