reload.c (find_reloads): Change push_reloads to push_reload in comment.

* reload.c (find_reloads): Change push_reloads to push_reload in
comment.
* reload1.c (eliminate_regs): Likewise.
(dump_needs): Delete prototype for deleted function.

From-SVN: r68691
This commit is contained in:
James E Wilson 2003-06-29 20:11:48 -07:00 committed by Jim Wilson
parent c868f37e40
commit bd235d86cd
3 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,10 @@
2003-06-29 James E Wilson <wilson@tuliptree.org>
* 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 <ghazi@caip.rutgers.edu> 2003-06-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* builtin-attrs.def (gcc_diag, gcc_cdiag, gcc_cxxdiag): New * builtin-attrs.def (gcc_diag, gcc_cdiag, gcc_cxxdiag): New

View File

@ -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 is doubly true if WORD_REGISTER_OPERATIONS. In
this case eliminate_regs has left non-paradoxical 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. by forcing the reload.
??? When is it right at this stage to have a subreg ??? When is it right at this stage to have a subreg

View File

@ -439,7 +439,6 @@ static rtx inc_for_reload PARAMS ((rtx, rtx, rtx, int));
static void add_auto_inc_notes PARAMS ((rtx, rtx)); static void add_auto_inc_notes PARAMS ((rtx, rtx));
#endif #endif
static void copy_eh_notes PARAMS ((rtx, rtx)); static void copy_eh_notes PARAMS ((rtx, rtx));
extern void dump_needs PARAMS ((struct insn_chain *));
/* Initialize the reload pass once per compilation. */ /* 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. Convert (subreg (mem)) to (mem) if not paradoxical.
Also, if we have a non-paradoxical (subreg (pseudo)) and the Also, if we have a non-paradoxical (subreg (pseudo)) and the
pseudo didn't get a hard reg, we must replace this with 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. */ may do the replacement in certain circumstances. */
if (GET_CODE (SUBREG_REG (x)) == REG if (GET_CODE (SUBREG_REG (x)) == REG
&& (GET_MODE_SIZE (GET_MODE (x)) && (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 happen to the entire word. Moreover, it will use the
(reg:m2 R) later, expecting all bits to be preserved. (reg:m2 R) later, expecting all bits to be preserved.
So if the number of words is the same, preserve the 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 && ! ((x_size - 1) / UNITS_PER_WORD
== (new_size -1 ) / UNITS_PER_WORD) == (new_size -1 ) / UNITS_PER_WORD)
#endif #endif