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: H8 Exception handling improvements


  In message <200109112005.NAB16384@cygnus.com>you write:
  > Hi,
  > 
  > http://gcc.gnu.org/ml/gcc-cvs/2001-09/msg00090.html
  > 
  > This change seems to redefine RETURN_ADDR_RTX without removing the old
  > definition.  I am afraid that you actually meant replacing the
  > definition, not redefining it somewhere else.
Opps.

	* h8300.h (RETURN_ADDR_RTX): Remove old, incorrect definition.

Index: h8300.h
===================================================================
RCS file: /cvs/gcc/egcs/gcc/config/h8300/h8300.h,v
retrieving revision 1.56
diff -c -3 -p -r1.56 h8300.h
*** h8300.h	2001/09/07 17:55:47	1.56
--- h8300.h	2001/10/24 19:22:39
*************** enum reg_class {
*** 514,528 ****
  
  #define STARTING_FRAME_OFFSET 0
  
- /* We do not know if the caller has a frame pointer, so we cannot go
-    beyond level 0.  */
- 
- #define RETURN_ADDR_RTX(COUNT, FRAME)					   \
-   ((COUNT) == 0								   \
-    ? gen_rtx_MEM (Pmode,						   \
- 		  plus_constant (arg_pointer_rtx, -GET_MODE_SIZE (Pmode))) \
-    : 0)
- 
  /* If we generate an insn to push BYTES bytes,
     this says how many the stack pointer really advances by.
  
--- 514,519 ----



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