https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50542
--- Comment #4 from Vittorio Zecca <zeccav at gmail dot com> --- Still present in version 11. The compilers NAG nagfor and Intel ifort detect the issue. ifort -S -w gfbug82.f -warn stderrors gfbug82.f(9): error #8252: A DATA implied-DO variable must be an array element or scalar structure component that has at least one subscript list. data (u%g,j=1,1) /1/! violates R536: data-i-do-object cannot be a scalar ------------^ gfbug82.f(10): error #8252: A DATA implied-DO variable must be an array element or scalar structure component that has at least one subscript list. data (ii,j=1,1) /1/ ! ditto ------------^ compilation aborted for gfbug82.f (code 1) [vitti f95]$nagfor -S -w gfbug82.f NAG Fortran Compiler Release 7.0(Yurakucho) Build 7042 Error: gfbug82.f, line 10: Syntax error detected at II@, [NAG Fortran Compiler pass 1 error termination, 1 error]