https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109434
--- Comment #4 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:6e3e708dbadaae7b504af7fc4410015624793f02 commit r13-7143-g6e3e708dbadaae7b504af7fc4410015624793f02 Author: Richard Biener <rguent...@suse.de> Date: Tue Apr 11 15:06:59 2023 +0200 tree-optimization/109434 - bogus DSE of throwing call LHS The byte tracking of call LHS didn't properly handle possibly throwing calls correctly which cases bogus DSE and in turn, for the testcase a bogus uninit diagnostic and (unreliable) wrong-code. PR tree-optimization/109434 * tree-ssa-dse.cc (initialize_ao_ref_for_dse): Properly handle possibly throwing calls when processing the LHS and may-defs are not OK. * g++.dg/opt/pr109434.C: New testcase.