https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111614
--- Comment #7 from GCC Commits ---
The releases/gcc-11 branch has been updated by Richard Biener
:
https://gcc.gnu.org/g:03b5888abc9fe9a81df77125a8d4975ab8695c8c
commit r11-11144-g03b5888abc9fe9a81df77125a8d4975ab8695c8c
Author: Richard Biener
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.c (undistribute_bitref_for_vector): Properly
convert the first vector when required.
* gcc.dg/torture/pr111614.c: New testcase.
(cherry picked from commit 88d79b9b03eccf39921d13c2cbd1acc50aeda126)