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

--- 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:7609f37f07e13970f69914afdba79cbd4de8cd5b

commit r16-4221-g7609f37f07e13970f69914afdba79cbd4de8cd5b
Author: Andrew Pinski <[email protected]>
Date:   Fri Oct 3 17:51:33 2025 -0700

    forwprop: Refine when TODO_update_address_taken is set [PR122143]

    As requested in
https://inbox.sourceware.org/gcc-patches/CAFiYyc162F+i=majzQqutFcq1y=dtrojvc4z+v3gp8n7utn...@mail.gmail.com/T/#u.
    This refines when TODO_update_address_taken is set so it only set when
folding of a call.
    This should speed up compile time slightly if we don't fold a call during
the last forwprop.

    Boostrapped and tested on x86_64-linux-gnu.

            PR tree-optimization/122143
    gcc/ChangeLog:

            * tree-ssa-forwprop.cc (pass_forwprop::execute): Restrict setting
            TODO_update_address_taken only when the statement was a call before
fold_stmt.

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

Reply via email to