summaryrefslogtreecommitdiff
path: root/gcc/cfgbuild.c
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2009-09-16 20:12:35 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2009-09-16 20:12:35 +0000
commitf6595509073e5ff44a9f816e51fa0351e0322390 (patch)
tree0d225555513d1d75ee442d1131f663c4ad1e7046 /gcc/cfgbuild.c
parentf2b24a01d332e9c0357e0a0f5f518661d99a5cf6 (diff)
downloadgcc-f6595509073e5ff44a9f816e51fa0351e0322390.tar.gz
PR middle-end/41360
* cfgbuild.c (find_bb_boundaries): Really re-instate 2009-09-02 barrier fix. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151771 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cfgbuild.c')
-rw-r--r--gcc/cfgbuild.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cfgbuild.c b/gcc/cfgbuild.c
index 5744108b5d4..b063f898507 100644
--- a/gcc/cfgbuild.c
+++ b/gcc/cfgbuild.c
@@ -485,9 +485,9 @@ find_bb_boundaries (basic_block bb)
if (!flow_transfer_insn)
flow_transfer_insn = prev_nonnote_insn_bb (insn);
}
- else if (control_flow_insn_p (insn))
- flow_transfer_insn = insn;
+ if (control_flow_insn_p (insn))
+ flow_transfer_insn = insn;
if (insn == end)
break;
insn = NEXT_INSN (insn);