diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-01-14 20:57:58 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-01-14 20:57:58 +0000 |
commit | 220345e0620e402f170696f15570e3f47a1bec43 (patch) | |
tree | 028c0425d9847ebff16ca9566dcf696998e902b9 /gcc/sdbout.c | |
parent | 4b2eb5772fc4730e07ae4881d2deca5cc50331b6 (diff) | |
download | gcc-220345e0620e402f170696f15570e3f47a1bec43.tar.gz |
Bring in final gcc-2.8.0 changes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17355 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/sdbout.c')
-rw-r--r-- | gcc/sdbout.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/gcc/sdbout.c b/gcc/sdbout.c index d95945e635b..a18afe3fc81 100644 --- a/gcc/sdbout.c +++ b/gcc/sdbout.c @@ -531,10 +531,14 @@ plain_type_1 (type, level) { char *name = IDENTIFIER_POINTER (DECL_NAME (TYPE_NAME (type))); + if (!strcmp (name, "char")) + return T_CHAR; if (!strcmp (name, "unsigned char")) return T_UCHAR; if (!strcmp (name, "signed char")) return T_CHAR; + if (!strcmp (name, "int")) + return T_INT; if (!strcmp (name, "unsigned int")) return T_UINT; if (!strcmp (name, "short int")) @@ -547,12 +551,12 @@ plain_type_1 (type, level) return T_ULONG; } + if (size == INT_TYPE_SIZE) + return (TREE_UNSIGNED (type) ? T_UINT : T_INT); if (size == CHAR_TYPE_SIZE) return (TREE_UNSIGNED (type) ? T_UCHAR : T_CHAR); if (size == SHORT_TYPE_SIZE) 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); if (size == LONG_LONG_TYPE_SIZE) /* better than nothing */ |