emit-rtl.c (emit_*_scope): Only access INSN_SCOPE if active_insn_p.

2002-06-11  David S. Miller  <davem@redhat.com>

	* emit-rtl.c (emit_*_scope): Only access INSN_SCOPE if
	active_insn_p.

From-SVN: r54545
This commit is contained in:
David S. Miller 2002-06-11 23:14:03 -07:00 committed by David S. Miller
parent 676997cfd2
commit d11cea133f
2 changed files with 13 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2002-06-11 David S. Miller <davem@redhat.com>
* emit-rtl.c (emit_*_scope): Only access INSN_SCOPE if
active_insn_p.
2002-06-11 Richard Henderson <rth@redhat.com>
* c-common.c (builtin_define_type_max): New.

View File

@ -4298,7 +4298,8 @@ emit_insn_after_scope (pattern, after, scope)
after = NEXT_INSN (after);
while (1)
{
INSN_SCOPE (after) = scope;
if (active_insn_p (after))
INSN_SCOPE (after) = scope;
if (after == last)
break;
after = NEXT_INSN (after);
@ -4317,7 +4318,8 @@ emit_jump_insn_after_scope (pattern, after, scope)
after = NEXT_INSN (after);
while (1)
{
INSN_SCOPE (after) = scope;
if (active_insn_p (after))
INSN_SCOPE (after) = scope;
if (after == last)
break;
after = NEXT_INSN (after);
@ -4336,7 +4338,8 @@ emit_call_insn_after_scope (pattern, after, scope)
after = NEXT_INSN (after);
while (1)
{
INSN_SCOPE (after) = scope;
if (active_insn_p (after))
INSN_SCOPE (after) = scope;
if (after == last)
break;
after = NEXT_INSN (after);
@ -4356,7 +4359,8 @@ emit_insn_before_scope (pattern, before, scope)
first = NEXT_INSN (first);
while (1)
{
INSN_SCOPE (first) = scope;
if (active_insn_p (first))
INSN_SCOPE (first) = scope;
if (first == last)
break;
first = NEXT_INSN (first);