[Bug fortran/38351] Poor error message for rank mismatch in operator args

kargl at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Jun 9 21:55:00 GMT 2018


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

--- Comment #5 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Sat Jun  9 21:54:45 2018
New Revision: 261376

URL: https://gcc.gnu.org/viewcvs?rev=261376&root=gcc&view=rev
Log:
2018-06-09  Steven G. Kargl  <kargl@gcc.gnu.org>

        PR fortran/38351
        * resolve.c (resolve_operator): Provide better error message for
        derived type entity used in an binary intrinsic numeric operator.

2018-06-09  Steven G. Kargl  <kargl@gcc.gnu.org>

        PR fortran/38351
        * gfortran.dg/pr38351.f90: New test.
        * gfortran.dg/typebound_operator_4.f03: Adjust for new error message.

Added:
    branches/gcc-7-branch/gcc/testsuite/gfortran.dg/pr38351.f90
Modified:
    branches/gcc-7-branch/gcc/fortran/ChangeLog
    branches/gcc-7-branch/gcc/fortran/resolve.c
    branches/gcc-7-branch/gcc/testsuite/ChangeLog
    branches/gcc-7-branch/gcc/testsuite/gfortran.dg/typebound_operator_4.f03


More information about the Gcc-bugs mailing list