[J3] BLOCK construct change

Steidel, Jon L jon.l.steidel at intel.com
Tue Jun 28 21:11:36 UTC 2022

ifort, gfortran (11.2) and NAG (7.0) do not give errors on this program.


From: J3 <j3-bounces at mailman.j3-fortran.org> On Behalf Of Robert Corbett via J3
Sent: Tuesday, June 28, 2022 4:03 PM
To: J3 List <j3 at j3-fortran.org>
Cc: Robert Corbett <rpcorbett at att.net>
Subject: [J3] BLOCK construct change

The program

        INTEGER MC

          USE VAR
          MC = 0
        END BLOCK

conforms to the Fortran 2008 standard, but it violates syntax
rule R1109 of the Fortran 2018 standard and the Fortran 202X
draft standard.  Was this change intentional or accidental?
If it was intentional, what was the reason for the change?
If it was accidental, does it require an interpretation
request?  Does any existing compiler that implements BLOCK
constructs diagnose the violation of the syntax rule?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.j3-fortran.org/pipermail/j3/attachments/20220628/c3f2c64e/attachment-0002.htm>

More information about the J3 mailing list