*ping* [Patch, fortran, RFC] Add warning for missing location information

Thomas Koenig tkoenig@netcologne.de
Sun Dec 4 11:40:00 GMT 2016


Hi Steve,

>> Ping?  Any comments?
>>
>
> I see nothing wrong with the patch.  Have you considered Janus's
> questions?

As a matter of fact, I had forgotten about this (I'd been focusing
on the matmul AVX stuff).

Here is a new version of the patch.

Unfortunately, regression-testing reveals hundreds of new
regressions with this patch, so a recent patch probably
broke quite a lot of stuff here. Should have committed it
earler...

So, not OK for trunk at the moment.  OK once failures have
been fixed?

I will update PR78226 with the new failing test cases.
Maybe somebody can help me by bisecting where the
new failures have come in.

And people, please don't forget to update location information.

Regards

	Thomas

2016-12-04  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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: p5.diff
Type: text/x-patch
Size: 2824 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20161204/f9c5c535/attachment.bin>


More information about the Fortran mailing list