From 72c0c58fb67609987a44ef9533943a598583f72c Mon Sep 17 00:00:00 2001 From: steven Date: Sun, 14 Feb 2010 12:58:16 +0000 Subject: [PATCH] * reorg.c (delete_computation): Comment fixes. * caller-save.c (setup_save_areas): Idem. * sel-sched-dump.c (dump_lv_set): Idem. * rtl.def: Idem. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156759 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 7 +++++++ gcc/caller-save.c | 2 +- gcc/reorg.c | 9 +++------ gcc/rtl.def | 2 +- gcc/sel-sched-dump.c | 2 +- 5 files changed, 13 insertions(+), 9 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 144a6c8ae97..b7f04af484b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2010-02-14 Steven Bosscher + + * 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 * config/s390/s390.c (s390_sched_init): New function. diff --git a/gcc/caller-save.c b/gcc/caller-save.c index e12deb73ead..a6faeea1969 100644 --- a/gcc/caller-save.c +++ b/gcc/caller-save.c @@ -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); diff --git a/gcc/reorg.c b/gcc/reorg.c index b1de4bec60f..c649dfc9b12 100644 --- a/gcc/reorg.c +++ b/gcc/reorg.c @@ -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. */ diff --git a/gcc/rtl.def b/gcc/rtl.def index 54f2a6028dd..e7ebb21a43f 100644 --- a/gcc/rtl.def +++ b/gcc/rtl.def @@ -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) diff --git a/gcc/sel-sched-dump.c b/gcc/sel-sched-dump.c index dbf1c34fccc..c45984420e4 100644 --- a/gcc/sel-sched-dump.c +++ b/gcc/sel-sched-dump.c @@ -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 -- 2.11.0