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

--- Comment #10 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:661c02e54ea72fb55205df0a717951ff28bb739e

commit r12-5522-g661c02e54ea72fb55205df0a717951ff28bb739e
Author: Andrew MacLeod <amacl...@redhat.com>
Date:   Tue Nov 23 14:12:29 2021 -0500

    Check for equivalences between PHI argument and def.

    If a PHI argument on an edge is equivalent with the DEF, then it doesn't
    provide any new information, defer processing it unless they are all
    equivalences.

            PR tree-optimization/103359
            gcc/
            * gimple-range-fold.cc (fold_using_range::range_of_phi): If arg is
            equivalent to def, don't initially include it's range.

            gcc/testsuite/
            * gcc.dg/pr103359.c: New.
  • [Bug tree-optimization/103359] ... cvs-commit at gcc dot gnu.org via Gcc-bugs

Reply via email to