Re: [PATCH] PR fortran/86322 -- Enforce F2018:C877

2019-01-10 Thread Thomas Koenig
Hi Steve! The attached patche fixes the PR. gfortran was not enforcing F2018:C877 and would ICE. Tested on x86_64-*-freebsd. Ok to commit? OK. Thanks for the patch! Regards Thomas

[PATCH] PR fortran/86322 -- Enforce F2018:C877

2019-01-09 Thread Steve Kargl
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 PR fortran/86322 * decl.c (top_var_list): Set locus of expr. (gfc_match_data): Detect pointer on non-rightmost part-refs. 2019-01-0