https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105250
--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-10 branch has been updated by Richard Biener <rgue...@gcc.gnu.org>: https://gcc.gnu.org/g:644185d0e42fd93d1f793475a0117d6751fb042e commit r10-10771-g644185d0e42fd93d1f793475a0117d6751fb042e Author: Richard Biener <rguent...@suse.de> Date: Wed Apr 13 08:52:57 2022 +0200 tree-optimization/105250 - adjust fold_convertible_p PR105140 fix The following reverts the original PR105140 fix and goes for instead applying the additional fold_convert constraint for VECTOR_TYPE conversions also to fold_convertible_p. I did not try sanitizing all of this at this point. 2022-04-13 Richard Biener <rguent...@suse.de> PR tree-optimization/105250 * fold-const.c (fold_convertible_p): Revert r12-7979-geaaf77dd85c333, instead check for size equality of the vector types involved. * gcc.dg/pr105250.c: New testcase. (cherry picked from commit 4e892de6774f86540d36385701aa7b0a2bba5155)