summaryrefslogtreecommitdiff
path: root/gcc/sdbout.c
diff options
context:
space:
mode:
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1995-01-14 01:40:18 +0000
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1995-01-14 01:40:18 +0000
commit2a949ded5084df65fdf9f5e8e4529636bc39de82 (patch)
tree750c4d5eedaffdc8ca3f0e0ab9eb19b288ecdc30 /gcc/sdbout.c
parent38d9af337c8dea3fc614e940e3e7c75d2713863b (diff)
downloadgcc-2a949ded5084df65fdf9f5e8e4529636bc39de82.tar.gz
(plain_type_1): For LONG_LONG_TYPE_SIZE, return T_[U]LONG instead of 0
(i.e. T_VOID). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8755 138bc75d-0d04-0410-961f-82ee72b054a4
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 e5d643ec8d5..d299b7829a7 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;
}