PATCH 1: Re: BOOTSTRAP FAILURE: segementation fault in genattrtab

Jeffrey A Law law@redhat.com
Wed Nov 29 22:48:00 GMT 2000


  In message < 200011210645.BAA15807@hiauly1.hia.nrc.ca >you write:
  > Is there a simple test to determine whether the frame pointer or other
  > eliminable register has been eliminated?
I believe you can check FRAME_POINTER_NEEDED.

  >  When I wrote the patch, I assumed
  > that no code would call gen_rtx_REG if it needed the frame_pointer_rtx
  > after reload even if it hadn't been eliminated.  If there was such code,
  > the hack in the pa.md probably would have broken long ago.  Isn't the above
  > unnecessarily complicating things?'
Possibly not.  But better safe than sorry IMHO.

  > This gets even messier for the arg_pointer_rtx.  On the pa 64 bit target,
  > the arg pointer isn't eliminable or always invariant, so the register could
  >  be used for multiple purposes in a function.
Yes.  But if you look at how the arg pointer is handled in that case you'll
find that it gets copied into a special pseudo.

jeff



More information about the Gcc-bugs mailing list