https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96565
--- Comment #11 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:989bc4ca2f2978baecff00f6d0532994b82897ef commit r11-2899-g989bc4ca2f2978baecff00f6d0532994b82897ef Author: Richard Biener <rguent...@suse.de> Date: Wed Aug 26 08:44:59 2020 +0200 tree-optimization/96565 - improve DSE with paths ending in noreturn This improves DSEs stmt walking by not considering a DEF without uses for further processing (and thus giving up when there's two paths to follow). 2020-08-26 Richard Biener <rguent...@suse.de> PR tree-optimization/96565 * tree-ssa-dse.c (dse_classify_store): Remove defs with no uses from further processing. * gcc.dg/tree-ssa/ssa-dse-40.c: New testcase. * gcc.dg/builtin-object-size-4.c: Adjust.