|
|
@@ -154,6 +154,13 @@
|
|
|
# if defined(__FLANG_PATCHLEVEL__)
|
|
|
# define COMPILER_VERSION_PATCH DEC(__FLANG_PATCHLEVEL__)
|
|
|
# endif
|
|
|
+#elif defined(__flang__)
|
|
|
+ PRINT *, 'INFO:compiler[LLVMFlang]'
|
|
|
+# define COMPILER_VERSION_MAJOR DEC(__flang_major__)
|
|
|
+# define COMPILER_VERSION_MINOR DEC(__flang_minor__)
|
|
|
+# if defined(__flang_patchlevel__)
|
|
|
+# define COMPILER_VERSION_PATCH DEC(__flang_patchlevel__)
|
|
|
+# endif
|
|
|
#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
|
|
|
PRINT *, 'INFO:compiler[VisualAge]'
|
|
|
#elif defined(__hpux) || defined(__hpux__)
|