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: pb with frame notes from hppa_expand_prologue ?


  In message <15245.59124.442632.616392@berlin.int.act-europe.fr>you write:
  >  A side effect of this is to make r1 the new base register for CFA
  >  computation, which does not seem to work because r1 is caller-saved and it
  > s
  >  value is not available when unwinding the stack at run-time.
  > 
  >  I temporarily kludged this by modifying rule 4 in dwarf2out_frame_debug_ex
  > pr
  >  for the cases in which reg1 is caller-saved, but I think that's not the ri
  > ght
  >  way to go.
  > 
  >  Any insight as to what should be done for this case ?
All true.  But the use of r1 is merely due to limitations of the PA ISA.
Instead of creating a new base register for the CFA it would seem to me
that we could still use the stack/frame pointer with offsets.

jeff


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