This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: A serious -fpic and -fomit-frame-pointer bug in egcs 1.0.3/1.1
- To: hjl at lucon dot org (H.J. Lu)
- Subject: Re: A serious -fpic and -fomit-frame-pointer bug in egcs 1.0.3/1.1
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Wed, 08 Jul 1998 10:19:45 -0600
- cc: egcs-bugs at cygnus dot com
- Reply-To: law at cygnus dot com
In message <m0ytuCX-000266C@ocean.lucon.org>you write:
> > If so, the bug is clearly in INITIAL_ELIMINATION_OFFSET.
> >
>
> Well, it is hard for the first INITIAL_ELIMINATION_OFFSET to tell if
> PIC will be ever used. It depends on values of FP constants, CPU and
> optimization.
As I mentioned in an earlier message, depending on those things is
not safe.
Make it always include space for the PIC register on the stack and
make the prologue always reserve the space.
jeff