OSDN Git Service

2008-05-17 Kenneth Zadeck <zadeck@naturalbridge.com>
authorzadeck <zadeck@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 17 May 2008 21:03:29 +0000 (21:03 +0000)
committerzadeck <zadeck@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 17 May 2008 21:03:29 +0000 (21:03 +0000)
* doc/rtl.texi (RTL_CONST_CALL_P, RTL_PURE_CALL_P): Fixed typos.
* df-problems.c (simulation routines): Fixed block comment to
properly say how to add forwards scanning functions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@135478 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/df-problems.c
gcc/doc/rtl.texi

index 682cca8..b1e60b3 100644 (file)
@@ -3767,10 +3767,10 @@ df_simulate_fixup_sets (basic_block bb, bitmap live)
    df_simulate_artificial_refs_at_top can be called to get a new value
    of the sets at the top of the block (this is rarely used).
 
-   It would be trivial to define a similar set of functions that work
-   in the forwards direction.  The only changes would be to process
-   the uses before the defs and properly rename the functions.  This
-   has so far not been necessary.
+   It would be not be difficult to define a similar set of functions
+   that work in the forwards direction.  In that case the functions
+   would ignore the use sets and look for the REG_DEAD and REG_UNUSED
+   notes.
 ----------------------------------------------------------------------------*/
 
 /* Apply the artificial uses and defs at the end of BB in a backwards
index 96de365..3191fc8 100644 (file)
@@ -562,7 +562,7 @@ Stored in the @code{unchanging} field and printed as @samp{/u}.
 @findex RTL_CONST_CALL_P
 @cindex @code{call_insn} and @samp{/u}
 @cindex @code{unchanging}, in @code{call_insn}
-@item RTLCONST_OR_PURE_CALL_P (@var{x})
+@item RTL_CONST_CALL_P (@var{x})
 In a @code{call_insn} indicates that the insn represents a call to a
 const function.  Stored in the @code{unchanging} field and printed as
 @samp{/u}.
@@ -570,7 +570,7 @@ const function.  Stored in the @code{unchanging} field and printed as
 @findex RTL_PURE_CALL_P
 @cindex @code{call_insn} and @samp{/i}
 @cindex @code{return_val}, in @code{call_insn}
-@item RTLCONST_OR_PURE_CALL_P (@var{x})
+@item RTL_PURE_CALL_P (@var{x})
 In a @code{call_insn} indicates that the insn represents a call to a
 pure function.  Stored in the @code{return_val} field and printed as
 @samp{/i}.