summaryrefslogtreecommitdiff
path: root/gcc/defaults.h
diff options
context:
space:
mode:
authorbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2009-12-24 12:47:59 +0000
committerbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2009-12-24 12:47:59 +0000
commit110557507c069b5d503b683d0ea74debd893e025 (patch)
treee31eba91035adf50eb6418316cd709bfd4b26ab3 /gcc/defaults.h
parent41206c9583f468718d640668438b42074c3c6be0 (diff)
downloadgcc-110557507c069b5d503b683d0ea74debd893e025.tar.gz
2009-12-24 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk rev 155453 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@155456 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/defaults.h')
-rw-r--r--gcc/defaults.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/defaults.h b/gcc/defaults.h
index 0363a460e06..8ca88968494 100644
--- a/gcc/defaults.h
+++ b/gcc/defaults.h
@@ -1086,7 +1086,8 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
/* On most machines, the CFA coincides with the first incoming parm. */
#ifndef ARG_POINTER_CFA_OFFSET
-#define ARG_POINTER_CFA_OFFSET(FNDECL) FIRST_PARM_OFFSET (FNDECL)
+#define ARG_POINTER_CFA_OFFSET(FNDECL) \
+ (FIRST_PARM_OFFSET (FNDECL) + crtl->args.pretend_args_size)
#endif
/* On most machines, we use the CFA as DW_AT_frame_base. */