2011-05-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
authorkrebbel <krebbel@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 4 May 2011 12:01:21 +0000 (12:01 +0000)
committerkrebbel <krebbel@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 4 May 2011 12:01:21 +0000 (12:01 +0000)
commitadaf4ef091f57a9a977db881fc2f3ce5a7fdd3bb
tree8900c45044a2c5fcbab68008ebff0cf2f9c08fa3
parent852640e9c5bf075aaa74b75ee6bd276f81a135d9
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@173371 138bc75d-0d04-0410-961f-82ee72b054a4
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