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

--- Comment #7 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:e58093276a6e319c2a6d9f02e343fbf8400dab60

commit r12-2464-ge58093276a6e319c2a6d9f02e343fbf8400dab60
Author: Andrew MacLeod <amacl...@redhat.com>
Date:   Mon Jul 19 14:02:57 2021 -0400

    Only call vrp_visit_cond_stmt if range_of_stmt doesn't resolve to a const.

    Eevntually all functionality will be subsumed.  Until then, call it only
    if needed.

            gcc/
            PR tree-optimization/101496
            * vr-values.c (simplify_using_ranges::fold_cond): Call
range_of_stmt
            first, then vrp_visit_cond_Stmt.

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

Reply via email to