https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91568
--- Comment #10 from Richard Biener <rguenth at gcc dot gnu.org> --- Author: rguenth Date: Thu Aug 29 08:12:57 2019 New Revision: 275024 URL: https://gcc.gnu.org/viewcvs?rev=275024&root=gcc&view=rev Log: 2019-08-29 Richard Biener <[email protected]> PR tree-optimization/91568 * tree-vectorizer.h (_slp_tree::max_nunits): Add. (vect_update_max_nunits): Add overload for poly_uint64. * tree-vect-slp.c (vect_create_new_slp_node): Initialize it. (vect_build_slp_tree): Record max_nunits into the subtree and merge it upwards. (vect_print_slp_tree): Print max_nunits. * gfortran.dg/pr91568.f: New testcase. Added: branches/gcc-9-branch/gcc/testsuite/gfortran.dg/pr91568.f Modified: branches/gcc-9-branch/gcc/ChangeLog branches/gcc-9-branch/gcc/testsuite/ChangeLog branches/gcc-9-branch/gcc/tree-vect-slp.c branches/gcc-9-branch/gcc/tree-vectorizer.h
