diff options
author | ebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-06-08 23:22:46 +0000 |
---|---|---|
committer | ebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-06-08 23:22:46 +0000 |
commit | ab30576bfdaffcaa646b756079016fa99912ee35 (patch) | |
tree | 5c6881977d9da74cad6d420fb3f9099740aecb1f /gcc/reload1.c | |
parent | 7334ad53db413f8033d5ea76f1edf6b1727f91b0 (diff) | |
download | gcc-ab30576bfdaffcaa646b756079016fa99912ee35.tar.gz |
* reload1.c (fixup_abnormal_edges): Clear bb field for insns
not inserted on the edge.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125582 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/reload1.c')
-rw-r--r-- | gcc/reload1.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/reload1.c b/gcc/reload1.c index 7a3e78a7981..f880e5a061f 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; } } |