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: law at cygnus dot com
- Subject: Re: A serious -fpic and -fomit-frame-pointer bug in egcs 1.0.3/1.1
- From: hjl at lucon dot org (H.J. Lu)
- Date: Wed, 8 Jul 1998 06:24:01 -0700 (PDT)
- Cc: egcs-bugs at cygnus dot com
>
> > As you can see, force_const_mem is called.
> And this can cause a function which used to not use PIC to use PIC
> which changes the offsets due to the definition of INITIAL_ELIMINATION_OFFSET
> right?
>
Exactly.
> 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.
--
H.J. Lu (hjl@gnu.org)