* stor-layout.c (set_sizetype): Set TYPE_MAIN_VARIANT of bitsizetype.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104800
138bc75d-0d04-0410-961f-
82ee72b054a4
+2005-09-29 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
+
+ PR middle-end/24053
+ * stor-layout.c (set_sizetype): Set TYPE_MAIN_VARIANT of bitsizetype.
+
2005-09-29 Mark Mitchell <mark@codesourcery.com>
* optabs.c (expand_binop): Initialize first_pass_p.
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))
{