calls.c (emit_library_call_value_1): Invoke promote_function_mode hook on libcall...
authorAndreas Krebbel <Andreas.Krebbel@de.ibm.com>
Wed, 4 May 2011 12:01:21 +0000 (12:01 +0000)
committerAndreas Krebbel <krebbel@gcc.gnu.org>
Wed, 4 May 2011 12:01:21 +0000 (12:01 +0000)
commit5e617be801a07a59e464005f9e1bac1959b6cf56
tree8900c45044a2c5fcbab68008ebff0cf2f9c08fa3
parent23ee028b82aaf3615dca2639a3443fcb216846cc
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
gcc/ChangeLog
gcc/calls.c
gcc/config/s390/s390.c
gcc/config/sparc/sparc.c
gcc/doc/tm.texi
gcc/doc/tm.texi.in
gcc/explow.c
gcc/targhooks.c