summaryrefslogtreecommitdiffstats
path: root/gcc/defaults.h
diff options
context:
space:
mode:
authorpbrook <pbrook@138bc75d-0d04-0410-961f-82ee72b054a4>2009-12-22 12:24:32 +0000
committerpbrook <pbrook@138bc75d-0d04-0410-961f-82ee72b054a4>2009-12-22 12:24:32 +0000
commitc9b5e4ec320184345e8ee20df05876e768b818b4 (patch)
treecd8771b1e0228f70a0a775d3d24200fb3cc66d8a /gcc/defaults.h
parenta72916cb927e0ee9387924152cc0b2fc96ff2f7f (diff)
downloadppe42-gcc-c9b5e4ec320184345e8ee20df05876e768b818b4.tar.gz
ppe42-gcc-c9b5e4ec320184345e8ee20df05876e768b818b4.zip
2009-12-22 Paul Brook <paul@codesourcery.com>
gcc/ * doc/tm.texi (ARG_POINTER_CFA_OFFSET): Document new default. * defaults.h (ARG_POINTER_CFA_OFFSET): Add pretend_args_size. * config/spu/spu.h (ARG_POINTER_CFA_OFFSET): Add pretend_args_size. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155396 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. */
OpenPOWER on IntegriCloud