[Bug tree-optimization/126329] [14/15/16/17 Regression] ICE at -O2 during GIMPLE pass: vrp since r14-4141-gbf6b107e2a3423

"cvs-commit at gcc dot gnu.org via Gcc-bugs" <[email protected]>
Newsgroups gmane.comp.gcc.bugs
Message-ID <[email protected]/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126329

--- Comment #6 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Andrew Macleod <[email protected]>:

https://gcc.gnu.org/g:e02ce3b8c4574c81a943eb1084b0e0bf6a9955d5

commit r17-3204-ge02ce3b8c4574c81a943eb1084b0e0bf6a9955d5
Author: Andrew MacLeod <[email protected]>
Date:   Tue Aug 4 12:13:15 2026 -0400

    Provide a DCE no-delete option.

    Add a flag which replaces statement with assignment to zero instead of
    removing them.

            PR tree-optimization/126329
            gcc/
            * tree-ssa-dce.cc (simple_dce_from_worklist): Add no-delete option.
            * tree-ssa-dce.h (simple_dce_from_worklist): Add no delete param.
            * tree-vrp.cc (remove_unreachable::handle_early): Use no delete
option.

            gcc/testsuite/
            * gcc.dg/pr126329.c: New.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.