A serious -fpic and -fomit-frame-pointer bug in egcs 1.0.3/1.1

Jeffrey A Law law@cygnus.com
Wed Jul 8 09:24:00 GMT 1998


  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



More information about the Gcc-bugs mailing list