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

--- 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:7fd1d28d2436065da7fc0fe01d787fcdf3c14b83

commit r13-6926-g7fd1d28d2436065da7fc0fe01d787fcdf3c14b83
Author: Richard Biener <rguent...@suse.de>
Date:   Wed Mar 29 09:51:58 2023 +0200

    tree-optimization/109327 - forwprop stmt removal issue

    There's interfering between the to_removed queue and other mechanisms
    removing stmts, in this case remove_prop_source_from_use.  The following
    makes the to_remove queue draining more permissive.

            PR tree-optimization/109327
            * tree-ssa-forwprop.cc (pass_forwprop::execute): Deal with
            already removed stmts when draining to_remove.

            * gcc.dg/pr109327.c: New testcase.

Reply via email to