re PR fortran/78226 (Fill out location information everywhere)
authorThomas Koenig <tkoenig@gcc.gnu.org>
Sat, 10 Dec 2016 22:28:32 +0000 (22:28 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Sat, 10 Dec 2016 22:28:32 +0000 (22:28 +0000)
commitbe841e112b04fe434f5ef9248f2a5e4169aebddf
treebe4bfe7ad7a362f1b2ec18203a6dd437d989c28e
parent8a45a00eee9802d81140870c84675d1e47f1f498
re PR fortran/78226 (Fill out location information everywhere)

2016-12-10  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/78226
* error.c (gfc_warning_internal):  New function.
* frontend-passes.c (gfc_run_passes):  Call check_locus if
CHECKING_P is defined.
(check_locus_code):  New function.
(check_locus_expr):  New function.
(check_locus):  New function.
* gfortran.h:  Add prototype for gfc_warning_internal.

From-SVN: r243520
gcc/fortran/ChangeLog
gcc/fortran/error.c
gcc/fortran/frontend-passes.c
gcc/fortran/gfortran.h