* explow.c (force_reg): Avoid useless REG_EQUAL notes.

From-SVN: r63187
This commit is contained in:
Roger Sayle 2003-02-20 22:29:06 +00:00
parent 4876b2b427
commit fd7acc3008
2 changed files with 12 additions and 4 deletions

View File

@ -1,3 +1,7 @@
2003-02-20 Roger Sayle <roger@eyesopen.com>
* explow.c (force_reg): Avoid useless REG_EQUAL notes.
2003-02-20 Toon Moene <toon@moene.indiv.nluug.nl>
PR fortran/9038
@ -7,11 +11,14 @@
Thu Feb 20 21:41:19 CET 2003 Jan Hubicka <jh@suse.cz>
* toplev.c (flag_sched2_use_superblocks, flag_sched2_use_traces): New global variables.
(lang_independent_options): Add -fsched2-use-superblocks -fsced2-use-traces.
* toplev.c (flag_sched2_use_superblocks, flag_sched2_use_traces): New
global variables.
(lang_independent_options): Add -fsched2-use-superblocks
-fsced2-use-traces.
(rest_of_compilation): Deal with it.
* invoke.texi (-fsched2-use-traces, fsched2-use-superblocks): Declare.
* flags.h (flag_sched2_use_superblocks, flag_sched2_use_traces): Declare.
* flags.h (flag_sched2_use_superblocks, flag_sched2_use_traces):
Declare.
* rtl.h (reg_to_stack): Update prototype.
* reg-stack.c (reg_to_stack): Return when something has changed;
update liveness when executing after superblock scheduling.

View File

@ -775,7 +775,8 @@ force_reg (mode, x)
if INSN set something else (such as a SUBREG of TEMP). */
if (CONSTANT_P (x)
&& (set = single_set (insn)) != 0
&& SET_DEST (set) == temp)
&& SET_DEST (set) == temp
&& ! rtx_equal_p (x, SET_SRC (set)))
set_unique_reg_note (insn, REG_EQUAL, x);
return temp;