aboutsummaryrefslogtreecommitdiff
path: root/gcc/dwarfout.c
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@bitrange.com>2000-02-01 11:00:43 +0000
committerHans-Peter Nilsson <hp@gcc.gnu.org>2000-02-01 11:00:43 +0000
commitc294bd99edcd4da2cdc34f9f40b5209e4e9cf746 (patch)
tree3b19fa6e59f5172f66d53a67ce28395bf93ea5b6 /gcc/dwarfout.c
parent784a3a806a858682ab53cc22ff6729a0b5ba9ee1 (diff)
downloadgcc-c294bd99edcd4da2cdc34f9f40b5209e4e9cf746.zip
gcc-c294bd99edcd4da2cdc34f9f40b5209e4e9cf746.tar.gz
gcc-c294bd99edcd4da2cdc34f9f40b5209e4e9cf746.tar.bz2
dwarfout.c (SHORT_TYPE_SIZE): Correct default.
* dwarfout.c (SHORT_TYPE_SIZE): Correct default. * tm.texi (Type Layout): Correct entry for CHAR_TYPE_SIZE. From-SVN: r31733
Diffstat (limited to 'gcc/dwarfout.c')
-rw-r--r--gcc/dwarfout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/dwarfout.c b/gcc/dwarfout.c
index e880936..a0ac42d 100644
--- a/gcc/dwarfout.c
+++ b/gcc/dwarfout.c
@@ -122,7 +122,7 @@ extern char *version_string;
#endif
#ifndef SHORT_TYPE_SIZE
-#define SHORT_TYPE_SIZE (BITS_PER_UNIT * 2)
+#define SHORT_TYPE_SIZE (BITS_PER_UNIT * MIN ((UNITS_PER_WORD + 1) / 2, 2))
#endif
#ifndef INT_TYPE_SIZE