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

--- 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:ef623bb58594958a7959f8f031f65a50eb0e5890

commit r13-1995-gef623bb58594958a7959f8f031f65a50eb0e5890
Author: Andrew MacLeod <amacl...@redhat.com>
Date:   Mon Aug 8 15:13:51 2022 -0400

    Evaluate condition arguments with the correct type.

    Processing of a cond_expr requires that a range of the correct type for the
    operands of the cond_expr is passed in.

            PR tree-optimization/106556
            gcc/
            * gimple-range-gori.cc (gori_compute::condexpr_adjust): Use the
              type of the cond_expr operands being evaluted.

            gcc/testsuite/
            * gfortran.dg/pr106556.f90: New.

Reply via email to