https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100778
--- Comment #9 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:a3aaba68405751bae3f630669515b7ecdf77efa6 commit r12-1951-ga3aaba68405751bae3f630669515b7ecdf77efa6 Author: Richard Biener <rguent...@suse.de> Date: Thu Jul 1 10:35:38 2021 +0200 tree-optimization/100778 - fix placement of trapping vectorized ops This avoids placing possibly trapping vectorized operations where the corresponding scalar operation was possibly not executed. 2021-01-07 Richard Biener <rguent...@suse.de> PR tree-optimization/100778 * tree-vect-slp.c (vect_schedule_slp_node): Do not place trapping vectorized ops ahead of their scalar BB. * gcc.dg/torture/pr100778.c: New testcase.