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

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

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

commit r16-4407-gd4d64838aef1b37a3e7d85135fcaa9845c5ff54b
Author: Andrew Pinski <[email protected]>
Date:   Mon Oct 13 14:04:31 2025 -0700

    prop: Remove may_propagate_copy_into_asm  [PR122182]

    may_propagate_copy_into_asm has been returning true always since
r0-118216-g01c59d23df7eef.
    Many places that checks may_propagate_copy don't check
    may_propagate_copy_into_asm for asm_expr. may_propagate_copy_into_stmt
    does not check when you would have expected it to. So let's remove
may_propagate_copy_into_asm
    and remove the checks from substitute_and_fold_engine and dom.

    Bootstrapped and tested on x86_64-linux-gnu.

            PR tree-optimization/122182
    gcc/ChangeLog:

            * tree-ssa-dom.cc (cprop_operand): Don't check
may_propagate_copy_into_asm.
            * tree-ssa-propagate.cc
(substitute_and_fold_engine::replace_uses_in): Don't
            check may_propagate_copy_into_asm.
            (may_propagate_copy_into_asm): Remove.
            * tree-ssa-propagate.h (may_propagate_copy_into_asm): Remove.

    Signed-off-by: Andrew Pinski <[email protected]>

Reply via email to