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

2004-04-05  Andrew Pinski  <pinskia@physics.uc.edu>

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

From-SVN: r80438
This commit is contained in:
Andrew Pinski 2004-04-05 22:32:37 +00:00 committed by Andrew Pinski
parent 54bcf05e52
commit e0e4ac7fb4
2 changed files with 7 additions and 2 deletions

View 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.

View 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;
}