combine.c (distribute_notes): Don't look at global_regs for pseudos.
* combine.c (distribute_notes): Don't look at global_regs for pseudos. From-SVN: r83889
This commit is contained in:
parent
26d44ae2fd
commit
2cd54c2a56
3 changed files with 18 additions and 12 deletions
|
@ -1,3 +1,8 @@
|
|||
2004-06-29 Zack Weinberg <zack@codesourcery.com>
|
||||
|
||||
* combine.c (distribute_notes): Don't look at global_regs for
|
||||
pseudos.
|
||||
|
||||
2004-06-29 Richard Henderson <rth@redhat.com>
|
||||
|
||||
* gimplify.c (gimplify_modify_expr_rhs): Move immediately before
|
||||
|
|
|
@ -1376,7 +1376,7 @@ c-ppoutput.o : c-ppoutput.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
|||
c-objc-common.o : c-objc-common.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) \
|
||||
$(C_TREE_H) $(RTL_H) insn-config.h $(INTEGRATE_H) $(EXPR_H) $(C_TREE_H) \
|
||||
$(FLAGS_H) toplev.h tree-inline.h $(DIAGNOSTIC_H) $(VARRAY_H) \
|
||||
langhooks.h $(GGC_H) $(TARGET_H) cgraph.h
|
||||
langhooks.h $(GGC_H) $(TARGET_H)
|
||||
c-aux-info.o : c-aux-info.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) \
|
||||
$(C_TREE_H) $(FLAGS_H) toplev.h
|
||||
c-convert.o : c-convert.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) \
|
||||
|
|
|
@ -11839,8 +11839,9 @@ distribute_notes (rtx notes, rtx from_insn, rtx i3, rtx i2)
|
|||
TEM is doing. If so, delete TEM. Otherwise, make this
|
||||
into a REG_UNUSED note instead. Don't delete sets to
|
||||
global register vars. */
|
||||
if (reg_set_p (XEXP (note, 0), PATTERN (tem))
|
||||
&& !global_regs [REGNO(XEXP (note, 0))])
|
||||
if ((REGNO (XEXP (note, 0)) >= FIRST_PSEUDO_REGISTER
|
||||
|| !global_regs[REGNO (XEXP (note, 0))])
|
||||
&& reg_set_p (XEXP (note, 0), PATTERN (tem)))
|
||||
{
|
||||
rtx set = single_set (tem);
|
||||
rtx inner_dest = 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue