]> gcc.gnu.org Git - gcc.git/commitdiff
method.c (process_overload_item): Call build_mangled_C9x_name () for all integer...
authorAndrew Haley <aph@cygnus.com>
Fri, 20 Aug 1999 15:30:47 +0000 (15:30 +0000)
committerAndrew Haley <aph@gcc.gnu.org>
Fri, 20 Aug 1999 15:30:47 +0000 (15:30 +0000)
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
gcc/cp/method.c

index 74395d4ce67c139406e49a59c099eaec5c5ad8e7..dd846fdf5722c1436d067f9b29dfc7f4ef1856b1 100644 (file)
@@ -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
index 4fb10a8ac1b3658ca0900203da4ca02e8d8aedd1..d6121ff88c919705cfc7830184ad1eecead5ab42 100644 (file)
@@ -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:
This page took 0.08018 seconds and 5 git commands to generate.