s390.c (s390_function_arg_integer): Handle NULLPTR_TYPE.

2010-11-19  Christian Borntraeger  <borntraeger@de.ibm.com>

	* config/s390/s390.c (s390_function_arg_integer): Handle NULLPTR_TYPE.

From-SVN: r166935
This commit is contained in:
Christian Borntraeger 2010-11-19 11:51:01 +00:00 committed by Andreas Krebbel
parent 7544dae2ee
commit 0d697034b7
2 changed files with 5 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2010-11-19 Christian Borntraeger <borntraeger@de.ibm.com>
* config/s390/s390.c (s390_function_arg_integer): Handle NULLPTR_TYPE.
2010-11-19 Jakub Jelinek <jakub@redhat.com>
PR target/45870

View file

@ -8433,6 +8433,7 @@ s390_function_arg_integer (enum machine_mode mode, const_tree type)
/* We accept small integral (and similar) types. */
if (INTEGRAL_TYPE_P (type)
|| POINTER_TYPE_P (type)
|| TREE_CODE (type) == NULLPTR_TYPE
|| TREE_CODE (type) == OFFSET_TYPE
|| (TARGET_SOFT_FLOAT && TREE_CODE (type) == REAL_TYPE))
return true;