From 29dc47967906ba4901f6060e0229b490bd09c5e8 Mon Sep 17 00:00:00 2001 From: Matthew Thompson Date: Wed, 1 Nov 2023 12:04:56 -0400 Subject: [PATCH 1/2] Add uninit flag for ifx This PR adds the `-check uninit` flag for `ifx` as there is currently a bug with this (see https://github.com/HPC-Bugs/reproducers/tree/main/compiler/Fortran/ifx/allocatable) --- ChangeLog.md | 8 ++++++++ cmake/IntelLLVM.cmake | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog.md b/ChangeLog.md index c579be8f..44fb6d7e 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -5,7 +5,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [4.7.4] - 2023-11-01 + +### Fixed + +- Several workarounds added to enable building with gfortran 13.2. Polymorphic assignment is broken, and must be replaced by `ALLOCATE(obj,source=...)`. But apparently not everywhere? +- Add `-check nouninit` for Intel LLVM to work around [`ifx` bug](https://github.com/HPC-Bugs/reproducers/tree/main/compiler/Fortran/ifx/allocatable). + ### Changed + - Updated CI to remove gcc-9 from macOS11 and add gcc-12 ## [4.7.3] - 2023-07-21 diff --git a/cmake/IntelLLVM.cmake b/cmake/IntelLLVM.cmake index 3dbbea8a..cb9f879e 100644 --- a/cmake/IntelLLVM.cmake +++ b/cmake/IntelLLVM.cmake @@ -5,7 +5,7 @@ if(WIN32) set(check_all "-check:all") else() set(no_optimize "-O0") - set(check_all "-check all") + set(check_all "-check all,nouninit") endif() From 2b447a46e20e326ebaf6149177bbb6ff351ef464 Mon Sep 17 00:00:00 2001 From: Matthew Thompson Date: Wed, 1 Nov 2023 12:05:41 -0400 Subject: [PATCH 2/2] Update cmakelists --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0e723e40..83579713 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -25,7 +25,7 @@ cmake_minimum_required(VERSION 3.12) project (PFUNIT - VERSION 4.7.3 + VERSION 4.7.4 LANGUAGES Fortran C) cmake_policy(SET CMP0077 NEW)