diff options
author | Andreas Krebbel <Andreas.Krebbel@de.ibm.com> | 2011-05-04 12:01:21 +0000 |
---|---|---|
committer | Andreas Krebbel <krebbel@gcc.gnu.org> | 2011-05-04 12:01:21 +0000 |
commit | 5e617be801a07a59e464005f9e1bac1959b6cf56 (patch) | |
tree | 8900c45044a2c5fcbab68008ebff0cf2f9c08fa3 /gcc/doc/tm.texi | |
parent | 23ee028b82aaf3615dca2639a3443fcb216846cc (diff) | |
download | gcc-5e617be801a07a59e464005f9e1bac1959b6cf56.zip gcc-5e617be801a07a59e464005f9e1bac1959b6cf56.tar.gz gcc-5e617be801a07a59e464005f9e1bac1959b6cf56.tar.bz2 |
calls.c (emit_library_call_value_1): Invoke promote_function_mode hook on libcall arguments.
2011-05-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* calls.c (emit_library_call_value_1): Invoke
promote_function_mode hook on libcall arguments.
* explow.c (promote_function_mode, promote_mode): Handle TYPE
argument being NULL.
* targhooks.c (default_promote_function_mode): Lisewise.
* config/s390/s390.c (s390_promote_function_mode): Likewise.
* config/sparc/sparc.c (sparc_promote_function_mode): Likewise.
* doc/tm.texi: Document that TYPE argument might be NULL.
From-SVN: r173371
Diffstat (limited to 'gcc/doc/tm.texi')
-rw-r--r-- | gcc/doc/tm.texi | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index 7351e83..874a223 100644 --- a/gcc/doc/tm.texi +++ b/gcc/doc/tm.texi @@ -962,6 +962,8 @@ which an incoming parameter is copied, or the outgoing result is computed; then the hook should return the same mode as @code{promote_mode}, though the signedness may be different. +@var{type} can be NULL when promoting function arguments of libcalls. + The default is to not promote arguments and return values. You can also define the hook to @code{default_promote_function_mode_always_promote} if you would like to apply the same rules given by @code{PROMOTE_MODE}. |