diff options
Diffstat (limited to 'gcc/stor-layout.c')
-rw-r--r-- | gcc/stor-layout.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/stor-layout.c b/gcc/stor-layout.c index 31d8bec..f7bf20b 100644 --- a/gcc/stor-layout.c +++ b/gcc/stor-layout.c @@ -1966,8 +1966,10 @@ set_sizetype (tree type) TYPE_PRECISION (t) = precision; TYPE_UID (t) = TYPE_UID (bitsizetype); TYPE_IS_SIZETYPE (t) = 1; + /* Replace our original stub bitsizetype. */ memcpy (bitsizetype, t, tree_size (bitsizetype)); + TYPE_MAIN_VARIANT (bitsizetype) = bitsizetype; if (TYPE_UNSIGNED (type)) { |