aboutsummaryrefslogtreecommitdiff
path: root/gcc/sdbout.c
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1995-01-13 20:40:18 -0500
committerRichard Kenner <kenner@gcc.gnu.org>1995-01-13 20:40:18 -0500
commit7726fc45eeb1e9088947f16ba80bf3f5a24dc4b5 (patch)
tree750c4d5eedaffdc8ca3f0e0ab9eb19b288ecdc30 /gcc/sdbout.c
parent4074220e4a37bebc2bcb8dd2669b4af603555092 (diff)
downloadgcc-7726fc45eeb1e9088947f16ba80bf3f5a24dc4b5.zip
gcc-7726fc45eeb1e9088947f16ba80bf3f5a24dc4b5.tar.gz
gcc-7726fc45eeb1e9088947f16ba80bf3f5a24dc4b5.tar.bz2
(plain_type_1): For LONG_LONG_TYPE_SIZE, return T_[U]LONG instead of 0 (i.e.
(plain_type_1): For LONG_LONG_TYPE_SIZE, return T_[U]LONG instead of 0 (i.e. T_VOID). From-SVN: r8755
Diffstat (limited to 'gcc/sdbout.c')
-rw-r--r--gcc/sdbout.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/sdbout.c b/gcc/sdbout.c
index e5d643e..d299b78 100644
--- a/gcc/sdbout.c
+++ b/gcc/sdbout.c
@@ -1,5 +1,5 @@
/* Output sdb-format symbol table information from GNU compiler.
- Copyright (C) 1988, 1992, 1993, 1994 Free Software Foundation, Inc.
+ Copyright (C) 1988, 1992, 1993, 1994, 1995 Free Software Foundation, Inc.
This file is part of GNU CC.
@@ -507,6 +507,8 @@ plain_type_1 (type)
return (TREE_UNSIGNED (type) ? T_UINT : T_INT);
if (size == LONG_TYPE_SIZE)
return (TREE_UNSIGNED (type) ? T_ULONG : T_LONG);
+ if (size == LONG_LONG_TYPE_SIZE) /* better than nothing */
+ return (TREE_UNSIGNED (type) ? T_ULONG : T_LONG);
return 0;
}