[Patch, fortran, RFC] Add warning for missing location information
Thomas Koenig
tkoenig@netcologne.de
Mon Nov 14 13:51:00 GMT 2016
> the attached patch runs through gfortran's AST to check for missing
> location information.
... this time with attachment.
2016-11-14 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/78226
* error.c (gfc_warning_internal): New function.
* frontend-passes.c (CHECK_LOCUS): New macro.
(gfc_run_passes): Call check_locus if CHECK_LOCUS
is defined.
(check_locus_code): New function.
(check_locus_expr): New function.
(check_locus): New function.
* gfortran.h: Add prototype for gfc_warning_internal.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p4.diff
Type: text/x-patch
Size: 3690 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20161114/c1a55af7/attachment.bin>
More information about the Fortran
mailing list