aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1992-11-10 21:27:39 +0000
committerRichard Stallman <rms@gnu.org>1992-11-10 21:27:39 +0000
commit580b8ee2bdd059bc04f38c19b82479934121182a (patch)
tree1315dd1d077d985341490499724b75d4462ad9e8
parent7d87c8518a65dc24f14d70da8d62163ef1c847f0 (diff)
downloadgcc-580b8ee2bdd059bc04f38c19b82479934121182a.zip
gcc-580b8ee2bdd059bc04f38c19b82479934121182a.tar.gz
gcc-580b8ee2bdd059bc04f38c19b82479934121182a.tar.bz2
(plain_type_1): Handle LONG_TYPE_SIZE like INT_TYPE_SIZE.
From-SVN: r2739
-rw-r--r--gcc/sdbout.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/sdbout.c b/gcc/sdbout.c
index 4c3b24d..4557817 100644
--- a/gcc/sdbout.c
+++ b/gcc/sdbout.c
@@ -452,6 +452,8 @@ plain_type_1 (type)
return (TREE_UNSIGNED (type) ? T_USHORT : T_SHORT);
if (size == INT_TYPE_SIZE)
return (TREE_UNSIGNED (type) ? T_UINT : T_INT);
+ if (size == LONG_TYPE_SIZE)
+ return (TREE_UNSIGNED (type) ? T_ULONG : T_LONG);
return 0;
}