pb with frame notes from hppa_expand_prologue ?

law@redhat.com law@redhat.com
Thu Aug 30 10:01:00 GMT 2001


  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



More information about the Gcc-bugs mailing list