]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
reorg.c (delete_computation): Comment fixes.
authorSteven Bosscher <steven@gcc.gnu.org>
Sun, 14 Feb 2010 12:58:16 +0000 (12:58 +0000)
committerSteven Bosscher <steven@gcc.gnu.org>
Sun, 14 Feb 2010 12:58:16 +0000 (12:58 +0000)
* reorg.c (delete_computation): Comment fixes.
* caller-save.c (setup_save_areas): Idem.
* sel-sched-dump.c (dump_lv_set): Idem.
* rtl.def: Idem.

From-SVN: r156759

gcc/ChangeLog
gcc/caller-save.c
gcc/reorg.c
gcc/rtl.def
gcc/sel-sched-dump.c

index 144a6c8ae975604608c0401faf133e70741dd4ec..b7f04af484b3d0f5690f2812ed9529680f50594d 100644 (file)
@@ -1,3 +1,10 @@
+2010-02-14  Steven Bosscher  <steven@gcc.gnu.org>
+
+       * reorg.c (delete_computation): Comment fixes.
+       * caller-save.c (setup_save_areas): Idem.
+       * sel-sched-dump.c (dump_lv_set): Idem.
+       * rtl.def: Idem.
+
 2010-02-14  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
 
        * config/s390/s390.c (s390_sched_init): New function.
index e12deb73ead0d5939663618c891d21fa224fd90b..a6faeea19699a8cff93b0c3e41c31be6470cced7 100644 (file)
@@ -549,7 +549,7 @@ setup_save_areas (void)
          CLEAR_HARD_REG_SET (this_insn_sets);
          note_stores (PATTERN (insn), mark_set_regs, &this_insn_sets);
          /* Sibcalls are considered to set the return value,
-            compare flow.c:propagate_one_insn.  */
+            compare df-scan.c:df_get_call_refs.  */
          if (SIBLING_CALL_P (insn) && crtl->return_rtx)
            mark_set_regs (crtl->return_rtx, NULL_RTX, &this_insn_sets);
 
index b1de4bec60f688d0acb9b00ae499c778a50d6edb..c649dfc9b12da7bbecbd3773b74c600403cd3da3 100644 (file)
@@ -3253,13 +3253,10 @@ delete_prior_computation (rtx note, rtx insn)
 
 /* Delete INSN and recursively delete insns that compute values used only
    by INSN.  This uses the REG_DEAD notes computed during flow analysis.
-   If we are running before flow.c, we need do nothing since flow.c will
-   delete dead code.  We also can't know if the registers being used are
-   dead or not at this point.
 
-   Otherwise, look at all our REG_DEAD notes.  If a previous insn does
-   nothing other than set a register that dies in this insn, we can delete
-   that insn as well.
+   Look at all our REG_DEAD notes.  If a previous insn does nothing other
+   than set a register that dies in this insn, we can delete that insn
+   as well.
 
    On machines with CC0, if CC0 is used in this insn, we may be able to
    delete the insn that set it.  */
index 54f2a6028dd089b7dd08fc5b22edee514853fcf5..e7ebb21a43f45d31fef21c3f6beace2bead9f655 100644 (file)
@@ -486,7 +486,7 @@ DEF_RTL_EXPR(UMAX, "umax", "ee", RTX_COMM_ARITH)
    because they can be understood from the machine-mode of the
    containing MEM.  These operations exist in only two cases:
    1. pushes onto the stack.
-   2. created automatically by the life_analysis pass in flow.c.  */
+   2. created automatically by the auto-inc-dec pass.  */
 DEF_RTL_EXPR(PRE_DEC, "pre_dec", "e", RTX_AUTOINC)
 DEF_RTL_EXPR(PRE_INC, "pre_inc", "e", RTX_AUTOINC)
 DEF_RTL_EXPR(POST_DEC, "post_dec", "e", RTX_AUTOINC)
index dbf1c34fccc1751cb9be47132696410aab76d839..c45984420e4d7a9b68b00ca7b812fdbf4c075366 100644 (file)
@@ -391,7 +391,7 @@ dump_lv_set (regset lv)
 {
   sel_print ("{");
 
-  /* This code was adapted from flow.c: dump_regset ().  */
+  /* This code was adapted from cfg.c: dump_regset ().  */
   if (lv == NULL)
     sel_print ("nil");
   else