On Thu, Sep 21, 2017 at 5:07 AM, Richard Biener <rguent...@suse.de> wrote:
> > This PR is about code generation issues with us inserting "loop header > copies" in the attempt to cover up cases where the loop doesn't run. > But we are disregarding such cases early already. Thus the simple > fix is to not emit those - we have no idea what values to use > for reduction results anyway. > > Bootstrapped and tested on x86_64-unknown-linux-gnu, applied to trunk. > > 2017-09-21 Richard Biener <rguent...@suse.de> > > PR tree-optimization/71351 > * graphite-isl-ast-to-gimple.c (translate_isl_ast_to_gimple:: > graphite_create_new_loop_guard): Remove, fold remaining parts > into caller ... > (translate_isl_ast_node_for): ... here and simplify. > > * gfortran.dg/graphite/pr71351.f90: New testcase. > * gfortran.dg/graphite/interchange-3.f90: Adjust. > > Looks good to me. Thanks, Sebastian