Hi Steve,
The attached patch adresses part of an issue raised in
PR fortran/63514 by enforcing F2008:C1282 and F2018:C1588.
Regression tested on x86_64-*-freebsd. OK to commit?
OK. Thanks!
PS: the actual underlying point of PR fortran/63514 is bogus,
and I recommend that it be closed with W
Steven G. Kargl
PR fortran/63514
* symbol.c (gfc_add_volatile): Enforce F2008:C1282 and F2018:C1588.
2018-06-08 Steven G. Kargl
PR fortran/63514
* gfortran.dg/pr63514.f90: New test.
--
Steve
Index: gcc/fortran/symbol.c