Re: [PATCH] PR fortran/30792 -- Substring data-implied-do is invalid

2018-02-24 Thread Thomas Koenig
Hi Steve, The attached patch fixes PR fortran/30792. A substring reference is invalid for a data-implied-do. Regression tested on x86_64-*-freebsd. OK to commit. This should be safe enough, OK for trunk. Thanks for the patch! Regards Thomas

[PATCH] PR fortran/30792 -- Substring data-implied-do is invalid

2018-02-23 Thread Steve Kargl
The attached patch fixes PR fortran/30792. A substring reference is invalid for a data-implied-do. Regression tested on x86_64-*-freebsd. OK to commit. 2018-02-23 Steven G. Kargl PR fortran/30792 * decl.c (gfc_match_data): Check for invalid substring in data-implied-d