https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100329
--- Comment #9 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-11 branch has been updated by Richard Biener <rgue...@gcc.gnu.org>: https://gcc.gnu.org/g:a0302c041b108cf680189bd8e79e9d4478c4e22c commit r11-8349-ga0302c041b108cf680189bd8e79e9d4478c4e22c Author: Richard Biener <rguent...@suse.de> Date: Tue May 4 10:07:35 2021 +0200 tree-optimization/100329 - avoid reassociating asm goto defs This avoids reassociating asm goto defs because we have no idea on which outgoing edge to insert defs. 2021-05-04 Richard Biener <rguent...@suse.de> PR tree-optimization/100329 * tree-ssa-reassoc.c (can_reassociate_p): Do not reassociate asm goto defs. (insert_stmt_after): Assert we're not running into asm goto. * gcc.dg/torture/pr100329.c: New testcase. (cherry picked from commit a310bb73edc9548e08d1fa28e7a56246caf27757)