aboutsummaryrefslogtreecommitdiff
path: root/gcc/reload1.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2007-06-08 23:22:46 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2007-06-08 23:22:46 +0000
commit36808d08a5fcf2418e50a20c237f799df7a6f84f (patch)
tree5c6881977d9da74cad6d420fb3f9099740aecb1f /gcc/reload1.c
parent9510f6eb7d5cc148e7f4e721df99219af9e38541 (diff)
downloadgcc-36808d08a5fcf2418e50a20c237f799df7a6f84f.zip
gcc-36808d08a5fcf2418e50a20c237f799df7a6f84f.tar.gz
gcc-36808d08a5fcf2418e50a20c237f799df7a6f84f.tar.bz2
reload1.c (fixup_abnormal_edges): Clear bb field for insns not inserted on the edge.
* reload1.c (fixup_abnormal_edges): Clear bb field for insns not inserted on the edge. From-SVN: r125582
Diffstat (limited to 'gcc/reload1.c')
-rw-r--r--gcc/reload1.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/reload1.c b/gcc/reload1.c
index 7a3e78a..f880e5a 100644
--- a/gcc/reload1.c
+++ b/gcc/reload1.c
@@ -8563,7 +8563,7 @@ fixup_abnormal_edges (void)
next = NEXT_INSN (insn);
if (INSN_P (insn))
{
- delete_insn (insn);
+ delete_insn (insn);
/* Sometimes there's still the return value USE.
If it's placed after a trapping call (i.e. that
@@ -8581,6 +8581,8 @@ fixup_abnormal_edges (void)
inserted = true;
}
}
+ else if (!BARRIER_P (insn))
+ set_block_for_insn (insn, NULL);
insn = next;
}
}