diff options
author | Geoffrey Keating <geoffk@redhat.com> | 2001-11-09 23:08:19 +0000 |
---|---|---|
committer | Geoffrey Keating <geoffk@gcc.gnu.org> | 2001-11-09 23:08:19 +0000 |
commit | 50e9f73a3b5ee13f26e759a6927ed24a41462050 (patch) | |
tree | 7834c716facab4ff83811afb78af3ab1f15a9adc /gcc | |
parent | ff6051b76e5f031a6bfc0c1f25a51034df1e4902 (diff) | |
download | gcc-50e9f73a3b5ee13f26e759a6927ed24a41462050.zip gcc-50e9f73a3b5ee13f26e759a6927ed24a41462050.tar.gz gcc-50e9f73a3b5ee13f26e759a6927ed24a41462050.tar.bz2 |
tree.h (TYPE_VOLATILE): Trap use not on TYPEs.
* tree.h (TYPE_VOLATILE): Trap use not on TYPEs.
(TYPE_READONLY): Likewise.
From-SVN: r46902
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 3 | ||||
-rw-r--r-- | gcc/tree.h | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8e7d9e7..e490598 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,8 @@ 2001-11-09 Geoffrey Keating <geoffk@redhat.com> + * tree.h (TYPE_VOLATILE): Trap use not on TYPEs. + (TYPE_READONLY): Likewise. + * flow.c (insn_dead_p): Allow for AUTO_INC notes all the time. * config/stormy16/stormy16.h (ASM_SPEC): Revert last change, @@ -1014,10 +1014,10 @@ struct tree_block (FUNCTION_TYPE_CHECK (NODE)->type.no_force_blk_flag) /* Nonzero in a type considered volatile as a whole. */ -#define TYPE_VOLATILE(NODE) ((NODE)->common.volatile_flag) +#define TYPE_VOLATILE(NODE) (TYPE_CHECK (NODE)->common.volatile_flag) /* Means this type is const-qualified. */ -#define TYPE_READONLY(NODE) ((NODE)->common.readonly_flag) +#define TYPE_READONLY(NODE) (TYPE_CHECK (NODE)->common.readonly_flag) /* If nonzero, this type is `restrict'-qualified, in the C sense of the term. */ |