* tree.h (TYPE_VOLATILE): Trap use not on TYPEs.
(TYPE_READONLY): Likewise.
From-SVN: r46902
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,
(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. */