aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/tree.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 2704ee9..1105593 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/tree.c b/gcc/tree.c
index 205db3f..d4dd3fe 100644
--- a/gcc/tree.c
+++ b/gcc/tree.c
@@ -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;
}