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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Thomas Koenig-6
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  <[hidden email]>

         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.


p1.diff (907 bytes) Download Attachment