diff options
author | Geoff Keating <geoffk@cygnus.com> | 2000-03-24 23:52:16 +0000 |
---|---|---|
committer | Geoffrey Keating <geoffk@gcc.gnu.org> | 2000-03-24 23:52:16 +0000 |
commit | 02ce8f4ef350fa87a6448f8f6c252c6f2af9cb7c (patch) | |
tree | d6d013c28be6c7e2e8abe0d03688f48fde659671 /gcc | |
parent | 3477addf36f2f875671418b3cd2e933b749630a8 (diff) | |
download | gcc-02ce8f4ef350fa87a6448f8f6c252c6f2af9cb7c.zip gcc-02ce8f4ef350fa87a6448f8f6c252c6f2af9cb7c.tar.gz gcc-02ce8f4ef350fa87a6448f8f6c252c6f2af9cb7c.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/flow.c | 8 |
2 files changed, 13 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2522508..dfd53dd 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 @@ -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; + } } } } |