From f2655b99bc6217d561b0ba64e9c0e89b2ef1626d Mon Sep 17 00:00:00 2001
From: Andrew Haley <aph@cygnus.com>
Date: Fri, 20 Aug 1999 15:30:47 +0000
Subject: [PATCH] method.c (process_overload_item): Call build_mangled_C9x_name
 () for all integer parameter types larger than long...

1999-08-18  Andrew Haley  <aph@cygnus.com>

        * method.c (process_overload_item): Call build_mangled_C9x_name ()
        for all integer parameter types larger than long long.

From-SVN: r28779
---
 gcc/cp/ChangeLog |  5 +++++
 gcc/cp/method.c  | 10 ++++------
 2 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 74395d4ce67c..dd846fdf5722 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,8 @@
+1999-08-18  Andrew Haley  <aph@cygnus.com>
+
+	* method.c (process_overload_item): Call build_mangled_C9x_name ()
+	for all integer parameter types larger than long long.
+
 1999-08-19  Mark Mitchell  <mark@codesourcery.com>
 
 	* pt.c (redeclare_class_template): Merge default template
diff --git a/gcc/cp/method.c b/gcc/cp/method.c
index 4fb10a8ac1b3..d6121ff88c91 100644
--- a/gcc/cp/method.c
+++ b/gcc/cp/method.c
@@ -1445,17 +1445,15 @@ process_overload_item (parmtype, extra_Gcode)
       else if (parmtype == java_boolean_type_node)
 	OB_PUTC ('b');
 #if HOST_BITS_PER_WIDE_INT >= 64
-      else if (parmtype == intTI_type_node 
-	       || parmtype == unsigned_intTI_type_node)
+      else
 	{
-	  /* Should just check a flag here instead of specific
-	   *_type_nodes, because all C9x types could use this. */
 	  int bits = TREE_INT_CST_LOW (TYPE_SIZE (parmtype));
 	  build_mangled_C9x_name (bits);
 	}
-#endif
+#else
       else
-        my_friendly_abort (73);
+	my_friendly_abort (73);
+#endif
       break;
 
     case BOOLEAN_TYPE:
-- 
GitLab