diff options
author | James E Wilson <wilson@tuliptree.org> | 2003-06-29 20:11:48 -0700 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 2003-06-29 20:11:48 -0700 |
commit | bd235d86cd32338c450f7cf5b5bb72da0d09e554 (patch) | |
tree | 6227913aedd314310635c5de633238b5835824c1 | |
parent | c868f37e401a69bc2d2890d3c8aed13e43a5c666 (diff) | |
download | gcc-bd235d86cd32338c450f7cf5b5bb72da0d09e554.zip gcc-bd235d86cd32338c450f7cf5b5bb72da0d09e554.tar.gz gcc-bd235d86cd32338c450f7cf5b5bb72da0d09e554.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/reload.c | 2 | ||||
-rw-r--r-- | gcc/reload1.c | 5 |
3 files changed, 10 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 77013cc..acd38bb 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/reload.c b/gcc/reload.c index 9b1b148..c1aa9e7 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 e1c470e..6d6c346 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 |