We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 71a5d0d commit 33637d0Copy full SHA for 33637d0
1 file changed
cmake/SetCompilerFlags.cmake
@@ -86,6 +86,11 @@ if (OCCA_ENABLE_FORTRAN)
86
87
set_optional_fortran_flag(SUPPORTED_WNO_INTEGER_DIVISION_Fortran_FLAGS "-Wno-integer-division")
88
89
+ # Fix for:
90
+ # https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-2025-warning-5472/td-p/1643667
91
+ if (CMAKE_Fortran_COMPILER_ID STREQUAL "IntelLLVM")
92
+ set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -fpscomp logicals")
93
+ endif()
94
endif()
95
96
check_cxx_compiler_flag("-fno-strict-aliasing" COMPILER_SUPPORTS_NO_STRICT_ALIASING)
0 commit comments