From 6e8323274a29065a1eecdf19001484ad2958d45a Mon Sep 17 00:00:00 2001 From: Georg-Johann Lay Date: Wed, 12 Oct 2016 12:35:00 +0000 Subject: [PATCH] rtl.h (struct rtx_def): Comment how RTX_FLAGS will be dumped in RTL dumps. * rtl.h (struct rtx_def): Comment how RTX_FLAGS will be dumped in RTL dumps. From-SVN: r241037 --- gcc/ChangeLog | 5 +++++ gcc/rtl.h | 25 ++++++++++++++++--------- 2 files changed, 21 insertions(+), 9 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4441f06..8044af0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2016-10-12 Georg-Johann Lay + + * rtl.h (struct rtx_def): Comment how RTX_FLAGS will be + dumped in RTL dumps. + 2016-10-12 Martin Liska * gimple-fold.c (create_tmp_reg_or_ssa_name): New function. diff --git a/gcc/rtl.h b/gcc/rtl.h index ce1131b..7de2ceb 100644 --- a/gcc/rtl.h +++ b/gcc/rtl.h @@ -317,12 +317,14 @@ struct GTY((desc("0"), tag("0"), 1 in a CONCAT is VAL_EXPR_IS_COPIED in var-tracking.c. 1 in a VALUE is SP_BASED_VALUE_P in cselib.c. 1 in a SUBREG generated by LRA for reload insns. - 1 in a CALL for calls instrumented by Pointer Bounds Checker. */ + 1 in a CALL for calls instrumented by Pointer Bounds Checker. + Dumped as "/j" in RTL dumps. */ unsigned int jump : 1; /* In a CODE_LABEL, part of the two-bit alternate entry field. 1 in a MEM if it cannot trap. 1 in a CALL_INSN logically equivalent to - ECF_LOOPING_CONST_OR_PURE and DECL_LOOPING_CONST_OR_PURE_P. */ + ECF_LOOPING_CONST_OR_PURE and DECL_LOOPING_CONST_OR_PURE_P. + Dumped as "/c" in RTL dumps. */ unsigned int call : 1; /* 1 in a REG, MEM, or CONCAT if the value is set at most once, anywhere. 1 in a SUBREG used for SUBREG_PROMOTED_UNSIGNED_P. @@ -333,7 +335,8 @@ struct GTY((desc("0"), tag("0"), 1 in a JUMP_INSN of an annulling branch. 1 in a CONCAT is VAL_EXPR_IS_CLOBBERED in var-tracking.c. 1 in a preserved VALUE is PRESERVED_VALUE_P in cselib.c. - 1 in a clobber temporarily created for LRA. */ + 1 in a clobber temporarily created for LRA. + Dumped as "/u" in RTL dumps. */ unsigned int unchanging : 1; /* 1 in a MEM or ASM_OPERANDS expression if the memory reference is volatile. 1 in an INSN, CALL_INSN, JUMP_INSN, CODE_LABEL, BARRIER, or NOTE @@ -344,9 +347,10 @@ struct GTY((desc("0"), tag("0"), 1 in a LABEL_REF, REG_LABEL_TARGET or REG_LABEL_OPERAND note for a non-local label. In a SYMBOL_REF, this flag is used for machine-specific purposes. - In a PREFETCH, this flag indicates that it should be considered a scheduling - barrier. - 1 in a CONCAT is VAL_NEEDS_RESOLUTION in var-tracking.c. */ + In a PREFETCH, this flag indicates that it should be considered a + scheduling barrier. + 1 in a CONCAT is VAL_NEEDS_RESOLUTION in var-tracking.c. + Dumped as "/v" in RTL dumps. */ unsigned int volatil : 1; /* 1 in a REG if the register is used only in exit code a loop. 1 in a SUBREG expression if was generated from a variable with a @@ -360,7 +364,8 @@ struct GTY((desc("0"), tag("0"), cleared before used. The name of the field is historical. It used to be used in MEMs - to record whether the MEM accessed part of a structure. */ + to record whether the MEM accessed part of a structure. + Dumped as "/s" in RTL dumps. */ unsigned int in_struct : 1; /* At the end of RTL generation, 1 if this rtx is used. This is used for copying shared structure. See `unshare_all_rtl'. @@ -377,13 +382,15 @@ struct GTY((desc("0"), tag("0"), 1 in a REG or MEM if it is a pointer. 1 in a SYMBOL_REF if it addresses something in the per-function constant string pool. - 1 in a VALUE is VALUE_CHANGED in var-tracking.c. */ + 1 in a VALUE is VALUE_CHANGED in var-tracking.c. + Dumped as "/f" in RTL dumps. */ unsigned frame_related : 1; /* 1 in a REG or PARALLEL that is the current function's return value. 1 in a SYMBOL_REF for a weak symbol. 1 in a CALL_INSN logically equivalent to ECF_PURE and DECL_PURE_P. 1 in a CONCAT is VAL_EXPR_HAS_REVERSE in var-tracking.c. - 1 in a VALUE or DEBUG_EXPR is NO_LOC_P in var-tracking.c. */ + 1 in a VALUE or DEBUG_EXPR is NO_LOC_P in var-tracking.c. + Dumped as "/i" in RTL dumps. */ unsigned return_val : 1; union { -- 2.7.4