(stupid_mark_refs): If setting reg_where_dead, set regs_live so we
don't later clobber it. From-SVN: r6705
This commit is contained in:
parent
4d3067db2c
commit
63cc239cc6
@ -1,5 +1,5 @@
|
||||
/* Dummy data flow analysis for GNU compiler in nonoptimizing mode.
|
||||
Copyright (C) 1987, 1991 Free Software Foundation, Inc.
|
||||
Copyright (C) 1987, 1991, 1994 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GNU CC.
|
||||
|
||||
@ -476,7 +476,10 @@ stupid_mark_refs (x, insn)
|
||||
insn so that it will conflict with any other outputs of
|
||||
this insn. */
|
||||
if (reg_where_dead[regno] < where_born + 2)
|
||||
reg_where_dead[regno] = where_born + 2;
|
||||
{
|
||||
reg_where_dead[regno] = where_born + 2;
|
||||
regs_live[regno] = 1;
|
||||
}
|
||||
|
||||
/* Count the refs of this reg. */
|
||||
reg_n_refs[regno]++;
|
||||
|
Loading…
Reference in New Issue
Block a user