This is the mail archive of the gcc-patches@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: PATCH: Fix return_addr_rtx on PA


  In message <200109221834.f8MIYTFn023550@hiauly1.hia.nrc.ca>you write:
  > Currently, return_addr_rtx on the PA tries to extract the saved return
  > pointer register from the frame.  However, this fails when the return
  > pointer isn't saved to the frame.  This patch change return_addr_rtx
  > to use get_hard_reg_initial_val to get the initial value of the
  > return pointer.
  > 
  > Bootstrap checked on hppa1.1-hp-hpux10.20 with no regressions.
  > 
  > OK?
  > 
  > Dave
  > -- 
  > J. David Anglin                                  dave.anglin@nrc.ca
  > National Research Council of Canada              (613) 990-0752 (FAX: 952-6
  > 605)
  > 
  > 2001-09-14  John David Anglin  <dave@hiauly1.hia.nrc.ca>
  > 
  > 	* pa.c (return_addr_rtx): Return NULL_RTX if count is not zero.  Use
  > 	initial value of return pointer register instead of value in frame-20.
  > 	Revise comments.
This is fine.  Please install this patch.

Thanks,
jeff


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