diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1993-10-08 18:36:23 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1993-10-08 18:36:23 -0400 |
commit | efd57514409ca01148f00280f6657ce526697d53 (patch) | |
tree | 350d1ac723ec58bfc5f06684b53bfdcd87324468 /gcc | |
parent | 6975612b18312053e9dccc88c12555b3a836ba0e (diff) | |
download | gcc-efd57514409ca01148f00280f6657ce526697d53.zip gcc-efd57514409ca01148f00280f6657ce526697d53.tar.gz gcc-efd57514409ca01148f00280f6657ce526697d53.tar.bz2 |
(dbxout_type, case INTEGER_TYPE): Correctly check for type smaller
than `integer'.
From-SVN: r5691
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/dbxout.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/dbxout.c b/gcc/dbxout.c index d6e6adb..6922799 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. */ |