re PR fortran/44491 (Diagnostic just shows "<During initialization>" instead of a...
authorSteven G. Kargl <kargl@gcc.gnu.org>
Tue, 12 Jun 2018 17:55:24 +0000 (17:55 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Tue, 12 Jun 2018 17:55:24 +0000 (17:55 +0000)
commit47feeb36526b106053ad8d4fc7a64c23ce16f5de
tree67474afcd6b0875cc3dc2410ec9ed85f46f67046
parentbb0f14ae684a38a44aaf42b312c213aedaa74103
re PR fortran/44491 (Diagnostic just shows "<During initialization>" instead of a locus)

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

From-SVN: r261516
gcc/fortran/ChangeLog
gcc/fortran/expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr44491.f90 [new file with mode: 0644]