https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100398
--- 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:2326627eb19d8c21251fd60479f1a190621c475b commit r12-430-g2326627eb19d8c21251fd60479f1a190621c475b Author: Richard Biener <rguent...@suse.de> Date: Tue May 4 09:18:11 2021 +0200 tree-optimization/100398 - avoid DSE of control flow stmt The following makes sure to preserve control altering stmts when removing trivially dead stmts in DSE. 2021-05-04 Richard Biener <rguent...@suse.de> PR tree-optimization/100398 * tree-ssa-dse.c (pass_dse::execute): Preserve control altering stmts. * gcc.dg/torture/pr100398.c: New testcase.