This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/44491] Diagnostic just shows "<During initialization>" instead of a locus
- 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: Tue, 12 Jun 2018 18:05:37 +0000
- Subject: [Bug fortran/44491] Diagnostic just shows "<During initialization>" instead of a locus
- Auto-submitted: auto-generated
- References: <bug-44491-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44491
--- Comment #10 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Tue Jun 12 18:05:05 2018
New Revision: 261517
URL: https://gcc.gnu.org/viewcvs?rev=261517&root=gcc&view=rev
Log:
2018-06-12 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/44491
* expr.c (gfc_check_assign): Select non-NULL locus.
2018-06-12 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/44491
* gfortran.dg/pr44491.f90: New testcase
Added:
branches/gcc-8-branch/gcc/testsuite/gfortran.dg/pr44491.f90
Modified:
branches/gcc-8-branch/gcc/fortran/ChangeLog
branches/gcc-8-branch/gcc/fortran/expr.c
branches/gcc-8-branch/gcc/testsuite/ChangeLog