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

--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Andrew Macleod <amacl...@gcc.gnu.org>:

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

commit r12-4788-gcb596fd43667f92c4cb037a4ee8b2061c393ba60
Author: Andrew MacLeod <amacl...@redhat.com>
Date:   Thu Oct 28 13:31:17 2021 -0400

    Perform on-entry propagation after range_of_stmt on a gcond.

    Propagation is automatically done by the temporal cache when defs are
    out of date from the names on the RHS, but a gcond has no LHS, and any
    updates on the RHS are never propagated.  Always propagate them.

            gcc/
            PR tree-optimization/102983
            * gimple-range-cache.h (propagate_updated_value): Make public.
            * gimple-range.cc (gimple_ranger::range_of_stmt): Propagate exports
            when processing gcond stmts.

            gcc/testsuite/
            * gcc.dg/pr102983.c: New.

Reply via email to