tree.c (reconstruct_complex_type): Use TYPE_READONLY and TYPE_VOLATILE.
authorAndrew Pinski <pinskia@physics.uc.edu>
Mon, 5 Apr 2004 22:32:37 +0000 (22:32 +0000)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Mon, 5 Apr 2004 22:32:37 +0000 (15:32 -0700)
2004-04-05  Andrew Pinski  <pinskia@physics.uc.edu>

        * tree.c (reconstruct_complex_type): Use TYPE_READONLY
        and TYPE_VOLATILE.

From-SVN: r80438

gcc/ChangeLog
gcc/tree.c

index 2704ee9a506a12e02f568235ec62eb4c75f03c0f..110559388af61eb1a58a27a95a20cc75346fd3b0 100644 (file)
@@ -1,3 +1,8 @@
+2004-04-05  Andrew Pinski  <pinskia@physics.uc.edu>
+
+       * tree.c (reconstruct_complex_type): Use TYPE_READONLY
+       and TYPE_VOLATILE.
+
 2004-04-05  Caroline Tice  <ctice@apple.com>
 
         * gcc.c (combine_flag): New global variable, for new driver option.
index 205db3f4bbfb44872a9d2ef61a6a997fc718d14a..d4dd3fe1a8a234124ca083fd104cf27655ab7e54 100644 (file)
@@ -5344,8 +5344,8 @@ reconstruct_complex_type (tree type, tree bottom)
   else
     return bottom;
 
-  TREE_READONLY (outer) = TREE_READONLY (type);
-  TREE_THIS_VOLATILE (outer) = TREE_THIS_VOLATILE (type);
+  TYPE_READONLY (outer) = TYPE_READONLY (type);
+  TYPE_VOLATILE (outer) = TYPE_VOLATILE (type);
 
   return outer;
 }