diff options
author | Janis Johnson <janis187@us.ibm.com> | 2002-04-22 23:22:33 +0000 |
---|---|---|
committer | Janis Johnson <janis@gcc.gnu.org> | 2002-04-22 23:22:33 +0000 |
commit | 2adc7f1284cb738d1633becaf566196bee37435b (patch) | |
tree | 233a32e3b9d05c7c497c48df9355d761169869b9 /gcc/integrate.c | |
parent | b7c89afe9000e63a1c0f3e8502624191e5a6135d (diff) | |
download | gcc-2adc7f1284cb738d1633becaf566196bee37435b.zip gcc-2adc7f1284cb738d1633becaf566196bee37435b.tar.gz gcc-2adc7f1284cb738d1633becaf566196bee37435b.tar.bz2 |
rtl.h (RTX_FLAG): New macro.
* rtl.h (RTX_FLAG): New macro.
* emit-rtl.c (copy_most_rtx): Use macros to access rtx flags.
* final.c (alter_subreg): Use macro to access rtx flag.
* integrate.c (copy_rtx_and_substitute): Use new access macro.
* print-rtl.c (print_rtx): Use new access macro.
* cse.c (insert): Check rtx code before accessing flag.
* genattrtab.c (ATTR_IND_SIMPLIFIED_P, ATTR_CURR_SIMPLIFIED_P,
ATTR_PERMANENT_P, ATTR_EQ_ATTR_P): New.
(attr_hash_add_string, attr_rtx_1, attr_copy_rtx, check_attr_test,
convert_const_symbol_ref, make_canonical, make_alternative_compare,
evaluate_eq_attr, attr_rtx_cost, simplify_test_exp_in_temp,
simplify_test_exp, optimize_attrs, simplify_by_exploding,
find_and_mark_used_attributes, unmark_used_attributes,
add_values_to_cover, simplify_with_current_value,
simplify_with_current_value_aux, clear_struct_flag, walk_attr_value,
copy_rtx_unchanging, main): Use new access macros.
From-SVN: r52645
Diffstat (limited to 'gcc/integrate.c')
-rw-r--r-- | gcc/integrate.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/integrate.c b/gcc/integrate.c index 3537364..db540c9 100644 --- a/gcc/integrate.c +++ b/gcc/integrate.c @@ -2209,7 +2209,7 @@ copy_rtx_and_substitute (orig, map, for_lhs) if (map->orig_asm_operands_vector == ASM_OPERANDS_INPUT_VEC (orig)) { copy = rtx_alloc (ASM_OPERANDS); - copy->volatil = orig->volatil; + RTX_FLAG (copy, volatil) = RTX_FLAG (orig, volatil); PUT_MODE (copy, GET_MODE (orig)); ASM_OPERANDS_TEMPLATE (copy) = ASM_OPERANDS_TEMPLATE (orig); ASM_OPERANDS_OUTPUT_CONSTRAINT (copy) @@ -2328,9 +2328,9 @@ copy_rtx_and_substitute (orig, map, for_lhs) copy = rtx_alloc (code); PUT_MODE (copy, mode); - copy->in_struct = orig->in_struct; - copy->volatil = orig->volatil; - copy->unchanging = orig->unchanging; + RTX_FLAG (copy, in_struct) = RTX_FLAG (orig, in_struct); + RTX_FLAG (copy, volatil) = RTX_FLAG (orig, volatil); + RTX_FLAG (copy, unchanging) = RTX_FLAG (orig, unchanging); format_ptr = GET_RTX_FORMAT (GET_CODE (copy)); |