diff options
author | amodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-06-06 01:04:22 +0000 |
---|---|---|
committer | amodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-06-06 01:04:22 +0000 |
commit | 02114c9576ea6dec329292dfda0568029c0210ba (patch) | |
tree | 23c342a3de8e01fa8b6546969fa6002664b39812 /gcc/doc/tm.texi | |
parent | f1d90c89e06c64dca9c301b1b47c475658972c18 (diff) | |
download | gcc-02114c9576ea6dec329292dfda0568029c0210ba.tar.gz |
PR target/61300
* doc/tm.texi.in (INCOMING_REG_PARM_STACK_SPACE): Document.
* doc/tm.texi: Regenerate.
* function.c (INCOMING_REG_PARM_STACK_SPACE): Provide default.
Use throughout in place of REG_PARM_STACK_SPACE.
* config/rs6000/rs6000.c (rs6000_reg_parm_stack_space): Add
"incoming" param. Pass to rs6000_function_parms_need_stack.
(rs6000_function_parms_need_stack): Add "incoming" param, ignore
prototype_p when incoming. Use function decl when incoming
to handle K&R style functions.
* config/rs6000/rs6000.h (REG_PARM_STACK_SPACE): Adjust.
(INCOMING_REG_PARM_STACK_SPACE): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@211296 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/doc/tm.texi')
-rw-r--r-- | gcc/doc/tm.texi | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index c949eaf15c9..c27263077b1 100644 --- a/gcc/doc/tm.texi +++ b/gcc/doc/tm.texi @@ -3799,6 +3799,13 @@ which. @c above is overfull. not sure what to do. --mew 5feb93 did @c something, not sure if it looks good. --mew 10feb93 +@defmac INCOMING_REG_PARM_STACK_SPACE (@var{fndecl}) +Like @code{REG_PARM_STACK_SPACE}, but for incoming register arguments. +Define this macro if space guaranteed when compiling a function body +is different to space required when making a call, a situation that +can arise with K&R style function definitions. +@end defmac + @defmac OUTGOING_REG_PARM_STACK_SPACE (@var{fntype}) Define this to a nonzero value if it is the responsibility of the caller to allocate the area reserved for arguments passed in registers |