(dbxout_type, case INTEGER_TYPE): Correctly check for type smaller
authorRichard Kenner <kenner@gcc.gnu.org>
Fri, 8 Oct 1993 22:36:23 +0000 (18:36 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Fri, 8 Oct 1993 22:36:23 +0000 (18:36 -0400)
than `integer'.

From-SVN: r5691

gcc/dbxout.c

index d6e6adb63f4317ae9666d5a10f3f7ce469607fcd..69227990bae15c8dbf0347c87d77f812f9194895 100644 (file)
@@ -1011,7 +1011,8 @@ dbxout_type (type, full, show_arg_types)
           This used to use `r2' explicitly and we used to
           take care to make sure that `char' was type number 2.  */
        fprintf (asmfile, "r%d;0;127;", TYPE_SYMTAB_ADDRESS (type));
-      else if (use_gnu_debug_info_extensions && TYPE_PRECISION (type) > BITS_PER_WORD)
+      else if (use_gnu_debug_info_extensions
+              && TYPE_PRECISION (type) > TYPE_PRECISION (integer_type_node))
        {
          /* This used to say `r1' and we used to take care
             to make sure that `int' was type number 1.  */