From: uros Date: Thu, 10 Dec 2015 17:14:07 +0000 (+0000) Subject: PR tree-optimization/68619 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7b1a8d9e2e65e715b7a4186b7f820580d29bca74;p=thirdparty%2Fgcc.git PR tree-optimization/68619 * graphite-scop-detection.c (gather_bbs::before_dom_children): Change return type to an edge. Always return NULL. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@231532 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0a77807efe4f..a8bbe3d3546b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2015-12-10 Uros Bizjak + + 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 PR tree-optimization/68619 diff --git a/gcc/graphite-scop-detection.c b/gcc/graphite-scop-detection.c index 729a5fd5588e..51c9d3d66a2e 100644 --- a/gcc/graphite-scop-detection.c +++ b/gcc/graphite-scop-detection.c @@ -1828,7 +1828,7 @@ class gather_bbs : public dom_walker 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: @@ -1844,11 +1844,11 @@ gather_bbs::gather_bbs (cdi_direction direction, scop_p scop) /* 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); @@ -1868,7 +1868,7 @@ gather_bbs::before_dom_children (basic_block 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 (); @@ -1880,6 +1880,8 @@ gather_bbs::before_dom_children (basic_block bb) 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