* stor-layout.c (set_sizetype): Set TYPE_CANONICAL.
From-SVN: r145531
This commit is contained in:
parent
6a067dfd2d
commit
462f32622d
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
2009-04-03 Jason Merrill <jason@redhat.com>
|
||||
|
||||
* stor-layout.c (set_sizetype): Set TYPE_CANONICAL.
|
||||
|
||||
2009-04-03 Steve Ellcey <sje@cup.hp.com>
|
||||
|
||||
* config/ia64/ia64.md (extendsfdf2, extendsfxf2, extenddfxf2,
|
||||
|
|
|
@ -2070,6 +2070,7 @@ set_sizetype (tree type)
|
|||
/* Replace our original stub sizetype. */
|
||||
memcpy (sizetype, t, tree_size (sizetype));
|
||||
TYPE_MAIN_VARIANT (sizetype) = sizetype;
|
||||
TYPE_CANONICAL (sizetype) = sizetype;
|
||||
|
||||
t = make_node (INTEGER_TYPE);
|
||||
TYPE_NAME (t) = get_identifier ("bit_size_type");
|
||||
|
@ -2084,6 +2085,7 @@ set_sizetype (tree type)
|
|||
/* Replace our original stub bitsizetype. */
|
||||
memcpy (bitsizetype, t, tree_size (bitsizetype));
|
||||
TYPE_MAIN_VARIANT (bitsizetype) = bitsizetype;
|
||||
TYPE_CANONICAL (bitsizetype) = bitsizetype;
|
||||
|
||||
if (TYPE_UNSIGNED (type))
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue