* [PATCH] S/390: Handle NULLPTR_TYPE as function argument
@ 2010-11-19 12:50 Christian Borntraeger
2010-11-19 13:12 ` Andreas Krebbel
0 siblings, 1 reply; 2+ messages in thread
From: Christian Borntraeger @ 2010-11-19 12:50 UTC (permalink / raw)
To: krebbel, gcc-patches
Currently on s390 the g++.dg/debug/nullptr01.C fails with an ICE in the
function arg handling. We need to handle the new NULLPTR_TYPE as well.
Bootstrapped and tested on s390x-ibm-linux-gnu:
=== libstdc++ Summary ===
-# of expected passes 8080
-# of unexpected failures 48
+# of expected passes 8164
+# of unexpected failures 1
# of expected failures 86
-# of unresolved testcases 37
# of unsupported tests 100
=== g++ Summary ===
-# of expected passes 25766
-# of unexpected failures 65
+# of expected passes 25852
+# of unexpected failures 7
# of expected failures 156
-# of unresolved testcases 31
# of unsupported tests 380
Christian
2010-11-19 Christian Borntraeger <borntraeger@de.ibm.com>>
* config/s390/s390.c (s390_function_arg_integer): Handle NULLPTR_TYPE.
Index: gcc/config/s390/s390.c
===================================================================
*** gcc/config/s390/s390.c.orig
--- gcc/config/s390/s390.c
*************** s390_function_arg_integer (enum machine_
*** 8433,8438 ****
--- 8433,8439 ----
/* 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;
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] S/390: Handle NULLPTR_TYPE as function argument
2010-11-19 12:50 [PATCH] S/390: Handle NULLPTR_TYPE as function argument Christian Borntraeger
@ 2010-11-19 13:12 ` Andreas Krebbel
0 siblings, 0 replies; 2+ messages in thread
From: Andreas Krebbel @ 2010-11-19 13:12 UTC (permalink / raw)
To: Christian Borntraeger; +Cc: gcc-patches
> 2010-11-19 Christian Borntraeger <borntraeger@de.ibm.com>>
>
> * config/s390/s390.c (s390_function_arg_integer): Handle NULLPTR_TYPE.
Committed. Thanks!
-Andreas-
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-11-19 11:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-19 12:50 [PATCH] S/390: Handle NULLPTR_TYPE as function argument Christian Borntraeger
2010-11-19 13:12 ` Andreas Krebbel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).