+2017-05-30 Richard Biener <rguenther@suse.de>
+
+ PR middle-end/80901
+ * cfgexpand.c (expand_gimple_cond): Match up loop fixup with
+ split_edge code.
+
2017-05-24 Robin Dapp <rdapp@linux.vnet.ibm.com>
* tree-vect-data-refs.c (vect_get_peeling_costs_all_drs):
false_edge->flags |= EDGE_FALLTHRU;
new_bb->count = false_edge->count;
new_bb->frequency = EDGE_FREQUENCY (false_edge);
- add_bb_to_loop (new_bb, dest->loop_father);
- if (dest->loop_father->latch == bb
- && dest->loop_father->header == dest)
- dest->loop_father->latch = new_bb;
+ loop_p loop = find_common_loop (bb->loop_father, dest->loop_father);
+ add_bb_to_loop (new_bb, loop);
+ if (loop->latch == bb
+ && loop->header == dest)
+ loop->latch = new_bb;
new_edge = make_edge (new_bb, dest, 0);
new_edge->probability = REG_BR_PROB_BASE;
new_edge->count = new_bb->count;
+2017-05-30 Richard Biener <rguenther@suse.de>
+
+ PR middle-end/80901
+ * gcc.dg/torture/pr80901.c: New testcase.
+
2017-05-30 Robin Dapp <rdapp@linux.vnet.ibm.com>
* gcc.target/s390/vector/vec-nopeel-2.c: New test.