mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-11 18:45:31 +08:00
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:
parent
c868f37e40
commit
bd235d86cd
@ -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>
|
||||
|
||||
* builtin-attrs.def (gcc_diag, gcc_cdiag, gcc_cxxdiag): New
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user