The following procedures are provided with the ISO_FORTRAN_ENV intrinsic module:
COMPILER_OPTIONS
COMPILER_VERSION