summaryrefslogtreecommitdiff
path: root/gcc/print-rtl.c
diff options
context:
space:
mode:
authorjanis <janis@138bc75d-0d04-0410-961f-82ee72b054a4>2002-04-22 23:22:33 +0000
committerjanis <janis@138bc75d-0d04-0410-961f-82ee72b054a4>2002-04-22 23:22:33 +0000
commit7c25cb9169f8977c743a33878a72ae97441f4d9c (patch)
tree233a32e3b9d05c7c497c48df9355d761169869b9 /gcc/print-rtl.c
parent1f31d3a67f60fcbae8552980b71fb8301672b806 (diff)
downloadgcc-7c25cb9169f8977c743a33878a72ae97441f4d9c.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52645 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/print-rtl.c')
-rw-r--r--gcc/print-rtl.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/gcc/print-rtl.c b/gcc/print-rtl.c
index 496613bf949..5bdffb4b9b3 100644
--- a/gcc/print-rtl.c
+++ b/gcc/print-rtl.c
@@ -154,25 +154,25 @@ print_rtx (in_rtx)
if (! flag_simple)
{
- if (in_rtx->in_struct)
+ if (RTX_FLAG (in_rtx, in_struct))
fputs ("/s", outfile);
- if (in_rtx->volatil)
+ if (RTX_FLAG (in_rtx, volatil))
fputs ("/v", outfile);
- if (in_rtx->unchanging)
+ if (RTX_FLAG (in_rtx, unchanging))
fputs ("/u", outfile);
- if (in_rtx->integrated)
+ if (RTX_FLAG (in_rtx, integrated))
fputs ("/i", outfile);
- if (in_rtx->frame_related)
+ if (RTX_FLAG (in_rtx, frame_related))
fputs ("/f", outfile);
- if (in_rtx->jump)
+ if (RTX_FLAG (in_rtx, jump))
fputs ("/j", outfile);
- if (in_rtx->call)
+ if (RTX_FLAG (in_rtx, call))
fputs ("/c", outfile);
if (GET_MODE (in_rtx) != VOIDmode)