Re: PR69741: Bad error in formal with array scalar loop counters

2016-11-20 Thread Steve Kargl
On Sat, Nov 19, 2016 at 03:44:12PM +0100, Harald Anlauf wrote: > > > > 2016-11-19 Harald Anlauf > > > > PR fortran/69741 > > * resolve.c (gfc_resolve_forall): Check for non-scalar index > > variables. > > > > 2016-11-19 Harald Anlauf > > > > PR fortran/69741 > > * gfor

Re: PR69741: Bad error in formal with array scalar loop counters

2016-11-19 Thread Harald Anlauf
Sorry, forgot to mention: regtested on i686-pc-linux-gnu Harald On 11/19/16 15:42, Harald Anlauf wrote: > Hi Steve, all, > > On 11/19/16 02:18, Steve Kargl wrote: >> The error message is still not clear. 42 is a scalar integer. Why >> not use the language in the standard? >> >> C739 (R753) The

Re: PR69741: Bad error in formal with array scalar loop counters

2016-11-19 Thread Harald Anlauf
Hi Steve, all, On 11/19/16 02:18, Steve Kargl wrote: > The error message is still not clear. 42 is a scalar integer. Why > not use the language in the standard? > > C739 (R753) The index-name shall be a named scalar variable of type integer. I had adjusted the error message to the same appeari