diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 77013cc00de..acd38bb3795 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2003-06-29 James E Wilson + + * reload.c (find_reloads): Change push_reloads to push_reload in + comment. + * reload1.c (eliminate_regs): Likewise. + (dump_needs): Delete prototype for deleted function. + 2003-06-29 Kaveh R. Ghazi * builtin-attrs.def (gcc_diag, gcc_cdiag, gcc_cxxdiag): New diff --git a/gcc/reload.c b/gcc/reload.c index 9b1b148d860..c1aa9e7de6a 100644 --- a/gcc/reload.c +++ b/gcc/reload.c @@ -2964,7 +2964,7 @@ find_reloads (insn, replace, ind_levels, live_known, reload_reg_p) This is doubly true if WORD_REGISTER_OPERATIONS. In this case eliminate_regs has left non-paradoxical - subregs for push_reloads to see. Make sure it does + subregs for push_reload to see. Make sure it does by forcing the reload. ??? When is it right at this stage to have a subreg diff --git a/gcc/reload1.c b/gcc/reload1.c index e1c470e12c7..6d6c3464292 100644 --- a/gcc/reload1.c +++ b/gcc/reload1.c @@ -439,7 +439,6 @@ static rtx inc_for_reload PARAMS ((rtx, rtx, rtx, int)); static void add_auto_inc_notes PARAMS ((rtx, rtx)); #endif static void copy_eh_notes PARAMS ((rtx, rtx)); -extern void dump_needs PARAMS ((struct insn_chain *)); /* Initialize the reload pass once per compilation. */ @@ -2538,7 +2537,7 @@ eliminate_regs (x, mem_mode, insn) Convert (subreg (mem)) to (mem) if not paradoxical. Also, if we have a non-paradoxical (subreg (pseudo)) and the pseudo didn't get a hard reg, we must replace this with the - eliminated version of the memory location because push_reloads + eliminated version of the memory location because push_reload may do the replacement in certain circumstances. */ if (GET_CODE (SUBREG_REG (x)) == REG && (GET_MODE_SIZE (GET_MODE (x)) @@ -2565,7 +2564,7 @@ eliminate_regs (x, mem_mode, insn) happen to the entire word. Moreover, it will use the (reg:m2 R) later, expecting all bits to be preserved. So if the number of words is the same, preserve the - subreg so that push_reloads can see it. */ + subreg so that push_reload can see it. */ && ! ((x_size - 1) / UNITS_PER_WORD == (new_size -1 ) / UNITS_PER_WORD) #endif