From efd57514409ca01148f00280f6657ce526697d53 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Fri, 8 Oct 1993 18:36:23 -0400 Subject: [PATCH] (dbxout_type, case INTEGER_TYPE): Correctly check for type smaller than `integer'. From-SVN: r5691 --- gcc/dbxout.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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. */ -- 2.30.2