Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

BLOCK construct

Nick_M_3
New Contributor I
2,392 Views

This does not appear to be supported.

PROGRAM Main
    INTEGER :: x
    BLOCK
        VOLATILE :: x
        x = 0
    END BLOCK
END PROGRAM Main

gerbil.f90(3): error #5082: Syntax error, found END-OF-STATEMENT when expecting one of: DATA
    BLOCK
---------^
etc.

0 Kudos
21 Replies
Izaak_Beekman
New Contributor II
312 Views

ah, false alarm… I had -stand f03 set accidentally, I think as I can no longer reproduce this.

0 Kudos
Reply