From: Stefan Schulze Frielinghaus <stefa...@linux.ibm.com>

From: Stefan Schulze Frielinghaus <stefa...@gcc.gnu.org>

gcc/ChangeLog:

        * explow.cc (promote_function_mode): Allow targets to promote
        _BitInt arguments.
---
 Bootstrapped and regtested on s390.  Ok for mainline?

 gcc/explow.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/explow.cc b/gcc/explow.cc
index 7799a98053b..5d69258e293 100644
--- a/gcc/explow.cc
+++ b/gcc/explow.cc
@@ -856,7 +856,7 @@ promote_function_mode (const_tree type, machine_mode mode, 
int *punsignedp,
     {
     case INTEGER_TYPE:   case ENUMERAL_TYPE:   case BOOLEAN_TYPE:
     case REAL_TYPE:      case OFFSET_TYPE:     case FIXED_POINT_TYPE:
-    case POINTER_TYPE:   case REFERENCE_TYPE:
+    case POINTER_TYPE:   case REFERENCE_TYPE:  case BITINT_TYPE:
       return targetm.calls.promote_function_mode (type, mode, punsignedp, 
funtype,
                                                  for_return);
 
-- 
2.49.0

Reply via email to