aboutsummaryrefslogtreecommitdiff
path: root/gcc/stor-layout.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2011-07-31 18:11:04 -0700
committerRichard Henderson <rth@gcc.gnu.org>2011-07-31 18:11:04 -0700
commitb87ac615229c744d036421c5252034ac778291d9 (patch)
treede634a8fe246f80e01518574db298753b455e274 /gcc/stor-layout.c
parent77b069404f8f475b569c99b75aad633edb73ea2a (diff)
downloadgcc-b87ac615229c744d036421c5252034ac778291d9.zip
gcc-b87ac615229c744d036421c5252034ac778291d9.tar.gz
gcc-b87ac615229c744d036421c5252034ac778291d9.tar.bz2
Handle SIZE_TYPE being unsigned short.
From-SVN: r176995
Diffstat (limited to 'gcc/stor-layout.c')
-rw-r--r--gcc/stor-layout.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/stor-layout.c b/gcc/stor-layout.c
index fee26e6..8a5c48d 100644
--- a/gcc/stor-layout.c
+++ b/gcc/stor-layout.c
@@ -2203,6 +2203,8 @@ initialize_sizetypes (void)
precision = LONG_TYPE_SIZE;
else if (strcmp (SIZE_TYPE, "long long unsigned int") == 0)
precision = LONG_LONG_TYPE_SIZE;
+ else if (strcmp (SIZE_TYPE, "short unsigned int") == 0)
+ precision = SHORT_TYPE_SIZE;
else
gcc_unreachable ();