From e0e4ac7fb441343c6fa773878eba2957d3d9277f Mon Sep 17 00:00:00 2001 From: Andrew Pinski Date: Mon, 5 Apr 2004 22:32:37 +0000 Subject: [PATCH] tree.c (reconstruct_complex_type): Use TYPE_READONLY and TYPE_VOLATILE. 2004-04-05 Andrew Pinski * tree.c (reconstruct_complex_type): Use TYPE_READONLY and TYPE_VOLATILE. From-SVN: r80438 --- gcc/ChangeLog | 5 +++++ gcc/tree.c | 4 ++-- 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 + + * tree.c (reconstruct_complex_type): Use TYPE_READONLY + and TYPE_VOLATILE. + 2004-04-05 Caroline Tice * 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; }