aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/interface.cc
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2023-04-11 15:06:59 +0200
committerRichard Biener <rguenther@suse.de>2023-04-12 08:48:23 +0200
commit6e3e708dbadaae7b504af7fc4410015624793f02 (patch)
tree00784ed72f08b3dcd2d7c080239706c3ff8d741d /gcc/fortran/interface.cc
parent5582ad0afb051a76231b2959487f4ef1746df283 (diff)
downloadgcc-6e3e708dbadaae7b504af7fc4410015624793f02.zip
gcc-6e3e708dbadaae7b504af7fc4410015624793f02.tar.gz
gcc-6e3e708dbadaae7b504af7fc4410015624793f02.tar.bz2
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.
Diffstat (limited to 'gcc/fortran/interface.cc')
0 files changed, 0 insertions, 0 deletions