re PR middle-end/24053 (ICE in build_int_cst_wide, at tree.c:795)
PR middle-end/24053 * stor-layout.c (set_sizetype): Set TYPE_MAIN_VARIANT of bitsizetype. From-SVN: r104800
This commit is contained in:
parent
93b47b19c5
commit
4ecd8dc716
@ -1,3 +1,8 @@
|
||||
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.
|
||||
|
@ -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))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user