[Bug fortran/101337] gfortran doesn't diagnose all operands with constraint violations

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Nov 7 17:35:33 GMT 2021


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

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

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

commit r12-4979-gee11be7f2d788e6055ebed9746a8d8ac3cb04b8e
Author: Sandra Loosemore <sandra@codesourcery.com>
Date:   Thu Nov 4 15:43:29 2021 -0700

    Fortran: Diagnose all operands/arguments with constraint violations

    04-Nov-2021  Sandra Loosemore <sandra@codesourcery.com>
                 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>

             PR fortran/101337

    gcc/fortran/ChangeLog:
            * interface.c (gfc_compare_actual_formal): Continue checking
            all arguments after encountering an error.
            * intrinsic.c (do_ts29113_check): Likewise.
            * resolve.c (resolve_operator): Continue resolving on op2 error.

    gcc/testsuite/ChangeLog:
            * gfortran.dg/bessel_3.f90: Expect additional diagnostics from
            multiple bad arguments in the call.
            * gfortran.dg/pr24823.f: Likewise.
            * gfortran.dg/pr39937.f: Likewise.
            * gfortran.dg/pr41011.f: Likewise.
            * gfortran.dg/pr61318.f90: Likewise.
            * gfortran.dg/c-interop/c407b-2.f90: Remove xfails.
            * gfortran.dg/c-interop/c535b-2.f90: Likewise.


More information about the Gcc-bugs mailing list