This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/61318] Improve error diagnostic by pointing to the expression and not to declared-at of a USE-associated variable
- 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: Mon, 22 Aug 2016 18:18:45 +0000
- Subject: [Bug fortran/61318] Improve error diagnostic by pointing to the expression and not to declared-at of a USE-associated variable
- Authentication-results: sourceware.org; auth=none
- Auto-submitted: auto-generated
- References: <bug-61318-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61318
--- Comment #3 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Mon Aug 22 18:18:14 2016
New Revision: 239667
URL: https://gcc.gnu.org/viewcvs?rev=239667&root=gcc&view=rev
Log:
2016-08-22 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/61318
* interface.c (compare_parameter): Use better locus for error message.
2016-08-22 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/61318
* gfortran.dg/pr61318.f90: New test.
Added:
trunk/gcc/testsuite/gfortran.dg/pr61318.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/interface.c
trunk/gcc/testsuite/ChangeLog