+2015-12-10 Uros Bizjak <ubizjak@gmail.com>
+
+ PR tree-optimization/68619
+ * graphite-scop-detection.c (gather_bbs::before_dom_children):
+ Change return type to an edge. Always return NULL.
+
2015-12-10 Jeff Law <law@redhat.com>
PR tree-optimization/68619
public:
gather_bbs (cdi_direction, scop_p);
- virtual void before_dom_children (basic_block);
+ virtual edge before_dom_children (basic_block);
virtual void after_dom_children (basic_block);
private:
/* Call-back for dom_walk executed before visiting the dominated
blocks. */
-void
+edge
gather_bbs::before_dom_children (basic_block bb)
{
if (!bb_in_sese_p (bb, scop->scop_info->region))
- return;
+ return NULL;
gcond *stmt = single_pred_cond_non_loop_exit (bb);
gimple_poly_bb_p gbb = try_generate_gimple_bb (scop, bb);
if (!gbb)
- return;
+ return NULL;
GBB_CONDITIONS (gbb) = conditions.copy ();
GBB_CONDITION_CASES (gbb) = cases.copy ();
data_reference_p dr;
FOR_EACH_VEC_ELT (gbb->data_refs, i, dr)
scop->drs.safe_push (dr_info (dr, pbb));
+
+ return NULL;
}
/* Call-back for dom_walk executed after visiting the dominated