From f693ad42873fc7312ee51f5fa4f9ffdaf9b46b8a Mon Sep 17 00:00:00 2001 From: Bill Somerville Date: Sun, 11 Feb 2018 19:42:55 +0000 Subject: [PATCH] Add temporary workaround for gfortran v7.3 bug Compiler ICE on 64-bit Fedora 27 fixed either by not using array bounds checking or by limiting optimization to level 2. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8495 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3f8f6a2db..5792033c1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -590,6 +590,9 @@ set (wsjt_FSRCS lib/zplot9.f90 ) +# temporary workaround for a gfortran v7.3 ICE on Fedora 27 64-bit +set_source_files_properties (lib/slasubs.f PROPERTIES COMPILE_FLAGS -O2) + set (ka9q_CSRCS lib/ftrsd/decode_rs.c lib/ftrsd/encode_rs.c