This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/38351] Poor error message for rank mismatch in operator args
- From: "kargl at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 09 Jun 2018 17:38:56 +0000
- Subject: [Bug fortran/38351] Poor error message for rank mismatch in operator args
- Auto-submitted: auto-generated
- References: <bug-38351-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38351
--- Comment #4 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Sat Jun 9 17:38:24 2018
New Revision: 261365
URL: https://gcc.gnu.org/viewcvs?rev=261365&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-8-branch/gcc/testsuite/gfortran.dg/pr38351.f90
Modified:
branches/gcc-8-branch/gcc/fortran/ChangeLog
branches/gcc-8-branch/gcc/fortran/resolve.c
branches/gcc-8-branch/gcc/testsuite/ChangeLog
branches/gcc-8-branch/gcc/testsuite/gfortran.dg/typebound_operator_4.f03