https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111614
--- Comment #3 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:88d79b9b03eccf39921d13c2cbd1acc50aeda126 commit r14-4303-g88d79b9b03eccf39921d13c2cbd1acc50aeda126 Author: Richard Biener <rguent...@suse.de> Date: Thu Sep 28 09:41:30 2023 +0200 tree-optimization/111614 - missing convert in undistribute_bitref_for_vector The following adjusts a flawed guard for converting the first vector of the sum we create in undistribute_bitref_for_vector. PR tree-optimization/111614 * tree-ssa-reassoc.cc (undistribute_bitref_for_vector): Properly convert the first vector when required. * gcc.dg/torture/pr111614.c: New testcase.