https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104528

--- Comment #3 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:0a1a3afb5fb36e2d10ad92bf788e16d837451571

commit r12-7228-g0a1a3afb5fb36e2d10ad92bf788e16d837451571
Author: Richard Biener <rguent...@suse.de>
Date:   Mon Feb 14 13:37:54 2022 +0100

    tree-optimization/104528 - free niter estimates after DSE

    When DSE removes a trivially dead def we have to reset niter information
    on loops since that might refer to it.  The patch also adds verification
    to make sure this does not happen.

    2022-02-14  Richard Biener  <rguent...@suse.de>

            PR tree-optimization/104528
            * tree-ssa.h (find_released_ssa_name): Declare.
            * tree-ssa.cc (find_released_ssa_name): Export.
            * cfgloop.cc (verify_loop_structure): Look for released
            SSA names in loops nb_iterations.
            * tree-ssa-dse.cc (pass_dse::execute): Release number of iteration
            estimates.

            * gfortran.dg/pr104528.f: New testcase.

Reply via email to