https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107766
--- Comment #7 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-12 branch has been updated by Richard Biener <rgue...@gcc.gnu.org>: https://gcc.gnu.org/g:9e242f8a2d5987ddaa74696e5ad809303ddc8dd0 commit r12-8975-g9e242f8a2d5987ddaa74696e5ad809303ddc8dd0 Author: Richard Biener <rguent...@suse.de> Date: Mon Nov 21 07:56:06 2022 +0100 tree-optimization/107766 - ICE with recent -ffp-contract=off fix The following uses *node to check for FP types rather than the child nodes which could be constant leafs and thus without a vector type. PR tree-optimization/107766 * tree-vect-slp-patterns.cc (complex_mul_pattern::matches): Use *node to check for FP vector types. * g++.dg/vect/pr107766.cc: New testcase. (cherry picked from commit 1a06ae6f2f4f292fd05a900bcf433cb4282da1e3)