From: Richard Kenner Date: Fri, 8 Oct 1993 22:36:23 +0000 (-0400) Subject: (dbxout_type, case INTEGER_TYPE): Correctly check for type smaller X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=efd57514409ca01148f00280f6657ce526697d53;p=gcc.git (dbxout_type, case INTEGER_TYPE): Correctly check for type smaller than `integer'. From-SVN: r5691 --- diff --git a/gcc/dbxout.c b/gcc/dbxout.c index d6e6adb63f4..69227990bae 100644 --- a/gcc/dbxout.c +++ b/gcc/dbxout.c @@ -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. */