This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: egcs-1.1 status (PPC)
- To: Franz Sirl <Franz dot Sirl-kernel at lauterbach dot com>
- Subject: Re: egcs-1.1 status (PPC)
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Thu, 20 Aug 1998 00:47:08 -0600
- cc: Joel Klecker <jk at espy dot org>, egcs at cygnus dot com
- Reply-To: law at cygnus dot com
In message <98082002071800.00686@ns1102.munich.netsurf.de>you write:
> And the bug reported by Gary seems to be fixed already (probably
> the change to haifa-sched.c).
Possibly. I'll look at it closely. The haifa change fixes a very
specific problem that I can identify relatively easily.
> But is the PIC problem really that difficult? I thought the
> difference between -fpic and -fPIC wasn't that big, and -fPIC
> works with the test case.
It's not a -fpic vs -fPIC issue.
The problem is trying to allocate the PIC register during reload.
ie, before reload we didn't think we needed the PIC register, during
reload something happens and we force a value into the static store.
To get to that value we have to use a PIC sequence, but we haven't
allocated a PIC register yet. Blam we die.
Given time and inclination I could probably expose the same problem
with -fpic.
jeff