flow.c (propagate_block): When we delete an ADDR_VEC, also delete the BARRIER following it if there is one.

* flow.c (propagate_block): When we delete an ADDR_VEC,
also delete the BARRIER following it if there is one.

From-SVN: r32733
This commit is contained in:
Geoff Keating 2000-03-24 23:52:16 +00:00 committed by Geoffrey Keating
parent 3477addf36
commit 02ce8f4ef3
2 changed files with 13 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2000-03-24 Geoff Keating <geoffk@cygnus.com>
* flow.c (propagate_block): When we delete an ADDR_VEC,
also delete the BARRIER following it if there is one.
2000-03-24 Richard Henderson <rth@cygnus.com>
* builtins.c (expand_builtin_bzero): Convert `length' argument

View File

@ -3328,6 +3328,14 @@ propagate_block (bb, old, significant, flags)
PUT_CODE (next, NOTE);
NOTE_LINE_NUMBER (next) = NOTE_INSN_DELETED;
NOTE_SOURCE_FILE (next) = 0;
if ((next = next_nonnote_insn (label)) != NULL
&& GET_CODE (next) == BARRIER)
{
PUT_CODE (next, NOTE);
NOTE_LINE_NUMBER (next) = NOTE_INSN_DELETED;
NOTE_SOURCE_FILE (next) = 0;
}
}
}
}