File tree Expand file tree Collapse file tree 2 files changed +19
-3
lines changed Expand file tree Collapse file tree 2 files changed +19
-3
lines changed Original file line number Diff line number Diff line change 11! Copyright (c), The Regents of the University of California
22! Terms of use are as specified in LICENSE.txt
33
4+ #ifdef __GNUC__
5+ # define GCC_VERSION (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__)
6+ #else
7+ # define GCC_VERSION 0
8+ #endif
9+
410#ifndef HAVE_SELECTED_LOGICAL_KIND
511 ! Define whether the compiler supports standard intrinsic function selected_logical_kind(),
612 ! a feature introduced in Fortran 2023 clause 16.9.182.
1521 ! Define whether the compiler supports associating a procedure pointer dummy argument with an
1622 ! actual argument that is a valid target for the pointer dummy in a procedure assignment, a
1723 ! feature introduced in Fortran 2008 and described in Fortran 2023 clause 15.5.2.10 paragraph 5.
18- #if defined( _CRAYFTN) || defined( __INTEL_COMPILER) || defined( NAGFOR) || defined( __flang__)
19- #define HAVE_PROCEDURE_ACTUAL_FOR_POINTER_DUMMY 1
24+ #if defined _CRAYFTN || defined __INTEL_COMPILER || defined NAGFOR || defined __flang__ || (GCC_VERSION > 140200 )
25+ # define HAVE_PROCEDURE_ACTUAL_FOR_POINTER_DUMMY 1
2026#else
21- #define HAVE_PROCEDURE_ACTUAL_FOR_POINTER_DUMMY 0
27+ # define HAVE_PROCEDURE_ACTUAL_FOR_POINTER_DUMMY 0
2228#endif
2329#endif
Original file line number Diff line number Diff line change 1+ #include " language-support.F90"
2+ implicit none
3+
4+ #if (GCC_VERSION > 140200)
5+ print * ," (GCC_VERSION > 140200)"
6+ #else
7+ print * ," ! (GCC_VERSION > 140200)"
8+ #endif
9+
10+ end
You can’t perform that action at this time.
0 commit comments