aboutsummaryrefslogtreecommitdiff
path: root/gcc/jump.c
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1995-04-14 18:42:15 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1995-04-14 18:42:15 -0400
commit4134d7fcf0b949212085fbda10ad943afae563ec (patch)
treefb4f207063b0a09f2df58a8502b8927331083fd2 /gcc/jump.c
parentd1d27b4cdfd9461e65f9fbb97c0f911e454409f8 (diff)
downloadgcc-4134d7fcf0b949212085fbda10ad943afae563ec.zip
gcc-4134d7fcf0b949212085fbda10ad943afae563ec.tar.gz
gcc-4134d7fcf0b949212085fbda10ad943afae563ec.tar.bz2
(delete_insn): When deleting after label, delete a BARRIER as well.
From-SVN: r9383
Diffstat (limited to 'gcc/jump.c')
-rw-r--r--gcc/jump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/jump.c b/gcc/jump.c
index ff26729..c150964 100644
--- a/gcc/jump.c
+++ b/gcc/jump.c
@@ -3504,7 +3504,7 @@ delete_insn (insn)
register RTX_CODE code;
while (next != 0
&& (GET_RTX_CLASS (code = GET_CODE (next)) == 'i'
- || code == NOTE
+ || code == NOTE || code == BARRIER
|| (code == CODE_LABEL && INSN_DELETED_P (next))))
{
if (code == NOTE