[patch, fortran, committed] Clarify warning on missing location information

Thomas Koenig tkoenig@netcologne.de
Sat Oct 27 10:31:00 GMT 2018


Originally, the idea about checking for missing location information
when not configured for release is to catch errors when adding new
code, so forgetting to add the info will show up right away on
regression testing.

 From time to time, a user can stumble across something like that
and get a confusing error message.  This tries to make sure
people don't mistake this for their own error.

Committed as obvious, r265559. No test case because... well, this
is not supposed to happen in the first place.

Regards

	Thomas

2018-10-27  Thomas Koenig  <tkoenig@gcc.gnu.org>

         PR fortran/86907
         * frontend-passes.c (check_locus_code): Add information that
         warning about missing location information points to an
         inconsisten internal state.
         (check_locus_expr): Likewise.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: p1.diff
Type: text/x-patch
Size: 883 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20181027/4da1a787/attachment.bin>


More information about the Fortran mailing list