diff options
Diffstat (limited to 'gcc/tree.h')
| -rw-r--r-- | gcc/tree.h | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -2486,6 +2486,12 @@ struct tree_struct_field_tag GTY(()) #define DECL_COMPLEX_GIMPLE_REG_P(DECL) \ DECL_COMMON_CHECK (DECL)->decl_common.gimple_reg_flag +/* This is true if DECL is call clobbered in the current function. + The result of this flag should always be the same as + bitmap_bit_p (call_clobbered_vars, DECL_UID (decl)). */ +#define DECL_CALL_CLOBBERED(DECL) \ + DECL_COMMON_CHECK (DECL)->decl_common.call_clobbered_flag + struct tree_decl_common GTY(()) { struct tree_decl_minimal common; @@ -2523,9 +2529,10 @@ struct tree_decl_common GTY(()) /* In FIELD_DECL, this is DECL_NONADDRESSABLE_P In VAR_DECL and PARM_DECL, this is DECL_HAS_VALUE_EXPR. */ unsigned decl_flag_3 : 1; - /* Logically, this would go in a theoretical base shared by var and parm - decl. */ + /* Logically, these two would go in a theoretical base shared by var and + parm decl. */ unsigned gimple_reg_flag : 1; + unsigned call_clobbered_flag : 1; union tree_decl_u1 { /* In a FUNCTION_DECL for which DECL_BUILT_IN holds, this is |
