summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>2004-04-05 22:32:37 +0000
committerpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>2004-04-05 22:32:37 +0000
commit78bc76346c0ad6b043e2c0d9eecb2933e00adc50 (patch)
tree8c9224698ea8f37705b7dc694000601fa608f5a5
parent10930c81c45a03d9cd55bafdac97ee063889373a (diff)
downloadppe42-gcc-78bc76346c0ad6b043e2c0d9eecb2933e00adc50.tar.gz
ppe42-gcc-78bc76346c0ad6b043e2c0d9eecb2933e00adc50.zip
2004-04-05 Andrew Pinski <pinskia@physics.uc.edu>
* tree.c (reconstruct_complex_type): Use TYPE_READONLY and TYPE_VOLATILE. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@80438 138bc75d-0d04-0410-961f-82ee72b054a4
-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 2704ee9a506..110559388af 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 205db3f4bbf..d4dd3fe1a8a 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;
}
OpenPOWER on IntegriCloud