ISO_FORTRAN_ENV function COMPILER_OPTIONS
Standard: F77 F90 F95 F2003 F2008 F2018 Example program
<Syntax>
USE ISO_FORTRAN_ENV, ONLY:COMPILER_OPTIONS
COMPILER_OPTIONS ( )
Result : Scalar default character string.
<Semantics>
COMPILER_OPTIONS is a module function in the intrinsic module ISO_FORTRAN_ENV, which returns a string identifying the compiler options used to compile the source code. The function can be used in a constant expression, e.g. to initialise a variable with the compiler option information.