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

--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Tamar Christina <tnfch...@gcc.gnu.org>:

https://gcc.gnu.org/g:37ebaabde2b88d446369240ae8f03b8e6a284a7b

commit r13-2259-g37ebaabde2b88d446369240ae8f03b8e6a284a7b
Author: Tamar Christina <tamar.christ...@arm.com>
Date:   Tue Aug 30 07:49:02 2022 +0100

    middle-end: fix min/max phiopts reduction [PR106744]

    This corrects the argument usage to use them in the order that they occur
in
    the comparisons in gimple.

    gcc/ChangeLog:

            PR tree-optimization/106744
            * tree-ssa-phiopt.cc (minmax_replacement): Correct arguments.

    gcc/testsuite/ChangeLog:

            PR tree-optimization/106744
            * gcc.dg/tree-ssa/minmax-10.c: Make runtime test.
            * gcc.dg/tree-ssa/minmax-11.c: Likewise.
            * gcc.dg/tree-ssa/minmax-12.c: Likewise.
            * gcc.dg/tree-ssa/minmax-13.c: Likewise.
            * gcc.dg/tree-ssa/minmax-14.c: Likewise.
            * gcc.dg/tree-ssa/minmax-15.c: Likewise.
            * gcc.dg/tree-ssa/minmax-16.c: Likewise.
            * gcc.dg/tree-ssa/minmax-3.c: Likewise.
            * gcc.dg/tree-ssa/minmax-4.c: Likewise.
            * gcc.dg/tree-ssa/minmax-5.c: Likewise.
            * gcc.dg/tree-ssa/minmax-6.c: Likewise.
            * gcc.dg/tree-ssa/minmax-7.c: Likewise.
            * gcc.dg/tree-ssa/minmax-8.c: Likewise.
            * gcc.dg/tree-ssa/minmax-9.c: Likewise.

Reply via email to