[PATCH] PR fortran/86322 -- Enforce F2018:C877
Steve Kargl
sgk@troutmask.apl.washington.edu
Thu Jan 10 00:57:00 GMT 2019
The attached patche fixes the PR. gfortran was not enforcing
F2018:C877 and would ICE. Tested on x86_64-*-freebsd. Ok to
commit?
2019-01-09 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/86322
* decl.c (top_var_list): Set locus of expr.
(gfc_match_data): Detect pointer on non-rightmost part-refs.
2019-01-09 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/86322
* gfortran.dg/pr86322_1.f90: New test.
* gfortran.dg/pr86322_2.f90: Ditto.
* gfortran.dg/pr86322_3.f90: Ditto.
--
Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr86322.diff
Type: text/x-diff
Size: 3456 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20190110/393094e1/attachment.bin>
More information about the Fortran
mailing list