* stor-layout.c (set_sizetype): Use TYPE_ORIG_SIZE_TYPE.
authorRichard Kenner <kenner@vlsi1.ultra.nyu.edu>
Thu, 18 Mar 2004 21:49:49 +0000 (21:49 +0000)
committerRichard Kenner <kenner@gcc.gnu.org>
Thu, 18 Mar 2004 21:49:49 +0000 (16:49 -0500)
From-SVN: r79642

gcc/ChangeLog
gcc/stor-layout.c

index b6c327c..5b48083 100644 (file)
        * c-typeck.c (build_array_ref): Use TYPE_DOMAIN, not TYPE_VALUES.
        * dwarf2out.c (gen_enumeration_type_die): Use TYPE_VALUES,
        not TYPE_FIELDS.
+       * stor-layout.c (set_sizetype): Use TYPE_ORIG_SIZE_TYPE.
 
 2004-03-18  Mostafa Hagog  <mustafa@il.ibm.com>
 
        * gcse.c (eliminate_partially_redundant_loads): Reject change if
        dest is set between beginning and current insn.
 
->>>>>>> 2.3204
 2004-03-18  Mark Mitchell  <mark@codesourcery.com>
 
        * c-decl.c (grokdeclarator): Do not complain about redeclaring
index 7923492..fa26bd7 100644 (file)
@@ -1888,7 +1888,7 @@ set_sizetype (tree type)
 
   /* Make copies of nodes since we'll be setting TYPE_IS_SIZETYPE.  */
   sizetype = copy_node (type);
-  TYPE_DOMAIN (sizetype) = type;
+  TYPE_ORIG_SIZE_TYPE (sizetype) = type;
   TYPE_IS_SIZETYPE (sizetype) = 1;
   bitsizetype = make_node (INTEGER_TYPE);
   TYPE_NAME (bitsizetype) = TYPE_NAME (type);