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/flow.c | |
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/flow.c')
-rw-r--r-- | gcc/flow.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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; + } } } } |