This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[m32c] fix incoming frame sp offset
- From: DJ Delorie <dj at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: msnyder at redhat dot com
- Date: Wed, 5 Apr 2006 21:54:12 -0400
- Subject: [m32c] fix incoming frame sp offset
2006-04-05 DJ Delorie <dj@redhat.com>
* config/m32c/m32c.h (INCOMING_FRAME_SP_OFFSET): Adjust for m16c
vs m32c.
Index: config/m32c/m32c.h
===================================================================
--- config/m32c/m32c.h (revision 112729)
+++ config/m32c/m32c.h (working copy)
@@ -428,7 +428,7 @@ enum reg_class
#define RETURN_ADDR_RTX(COUNT,FA) m32c_return_addr_rtx (COUNT)
#define INCOMING_RETURN_ADDR_RTX m32c_incoming_return_addr_rtx()
-#define INCOMING_FRAME_SP_OFFSET 3
+#define INCOMING_FRAME_SP_OFFSET (TARGET_A24 ? 4 : 3)
/* Exception Handling Support */