https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103190
--- Comment #2 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:fac4c4bdab1735bd8a87e37c519f0260e4769f2a commit r12-5158-gfac4c4bdab1735bd8a87e37c519f0260e4769f2a Author: Richard Biener <rguent...@suse.de> Date: Thu Nov 11 15:12:32 2021 +0100 tree-optimization/103190 - fix assert in reassoc stmt placement with asm This makes sure to only assert we don't run into a asm goto when inserting a stmt in reassoc, matching the condition in can_reassociate_p. We can handle EH edges from an asm just like EH edges from any other stmt. 2021-11-11 Richard Biener <rguent...@suse.de> PR tree-optimization/103190 * tree-ssa-reassoc.c (insert_stmt_after): Only assert on asm goto.