This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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



  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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]