https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91963
--- Comment #4 from Steve Kargl <sgk at troutmask dot apl.washington.edu> --- On Wed, Oct 02, 2019 at 02:03:21PM +0000, kargl at gcc dot gnu.org wrote: > --- Comment #3 from kargl at gcc dot gnu.org --- > (In reply to Richard Biener from comment #1) > > But is it valid fortran? > > Yes. It's valid. gfortran has poor handling of implied-do loops > in initialization expression. > Actually, the testcase submitted here in BZ is the one of three posted in c.l.f that is invalid. C_BOOL is the only interoperable type for ISO BIND C, so the use of C_SIZEOF is invalid.