https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101026
--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Richard Biener <rgue...@gcc.gnu.org>: https://gcc.gnu.org/g:fbd8a8041292f2ec2c22be43c8d3e74b37b2bc88 commit r12-1387-gfbd8a8041292f2ec2c22be43c8d3e74b37b2bc88 Author: Richard Biener <rguent...@suse.de> Date: Fri Jun 11 13:33:17 2021 +0200 tree-optimization/101026 - fix SLP re-association Since we cannot yet encode the operation in the SLP node itself but need a representative stmt require an existing one for now to avoid the need to build a fake GIMPLE stmt. 2021-06-11 Richard Biener <rguent...@suse.de> PR tree-optimization/101026 * tree-vect-slp.c (vect_build_slp_tree_2): Make sure we have a representative for the associated chain nodes. * gfortran.dg/pr101026.f: New testcase.