https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107956
--- Comment #5 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:16debfadbd759f9933b4a62029661f01188ad928 commit r12-8959-g16debfadbd759f9933b4a62029661f01188ad928 Author: Andrew Pinski <pins...@gmail.com> Date: Mon Dec 5 09:09:52 2022 +0100 tree-optimization/107956 - ICE with NULL call LHS The following adds a missing check for a NULL call LHS in the vector pattern recognizer. PR tree-optimization/107956 * tree-vect-patterns.cc (vect_recog_mask_conversion_pattern): Check for NULL LHS on masked loads. (cherry picked from commit 5c11d748564c7ce3b096e87ad350fcddd493e45e)