Re: [PATCH] PR fortran/58991 and fortran/58992

2016-10-05 Thread Steve Kargl
On Tue, Sep 27, 2016 at 11:45:35AM -0700, Steve Kargl wrote: > > 2016-09-27 Steven G. Kargl > > PR fortran/58991 > PR fortran/58992 > * resolve.c (resolve_assoc_var): Fix CHARACTER type-spec for a > selector in ASSOCIATE. > (resolve_fl_variable): Skip checks for

[PATCH] PR fortran/58991 and fortran/58992

2016-09-27 Thread Steve Kargl
The attached patch fixes both PR fortran/58991 and fortran/58992. The issue was that for a CHARACTER expression or variable as a selector in an ASSOCIATE statement, the type-spec was incomplete. That is, the actual length of the string was not set. The patch rectifies the problem (at least in my s