mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-11 12:05:50 +08:00
reload1.c (reload_cse_move2add): Revert part of my 2003-05-09's patch.
* reload1.c (reload_cse_move2add): Revert part of my 2003-05-09's patch. From-SVN: r66677
This commit is contained in:
parent
59650e480e
commit
6e5d72baac
@ -1,3 +1,8 @@
|
||||
2003-05-10 Alexandre Oliva <aoliva@redhat.com>
|
||||
|
||||
* reload1.c (reload_cse_move2add): Revert part of my 2003-05-09's
|
||||
patch.
|
||||
|
||||
2003-05-10 Zack Weinberg <zack@codesourcery.com>
|
||||
|
||||
* diagnostic.c: Reorder functions for clarity, putting all the
|
||||
|
@ -9259,15 +9259,9 @@ reload_cse_move2add (first)
|
||||
int success = 0;
|
||||
|
||||
if (new_src == const0_rtx)
|
||||
{
|
||||
if (INTVAL (src) == reg_offset [regno])
|
||||
/* See above why we create (set (reg)
|
||||
(reg)) here. */
|
||||
success
|
||||
= validate_change (next, &SET_SRC (set), reg, 0);
|
||||
else
|
||||
success = 0;
|
||||
}
|
||||
/* See above why we create (set (reg) (reg)) here. */
|
||||
success
|
||||
= validate_change (next, &SET_SRC (set), reg, 0);
|
||||
else if ((rtx_cost (new_src, PLUS)
|
||||
< COSTS_N_INSNS (1) + rtx_cost (src3, SET))
|
||||
&& have_add2_insn (reg, new_src))
|
||||
|
Loading…
Reference in New Issue
Block a user