From ae47eb3bf96ac3363bd0e6a805f8fd0503a9bad8 Mon Sep 17 00:00:00 2001 From: julianlitz Date: Sat, 1 Aug 2026 21:49:34 +0200 Subject: [PATCH] Remove max-inline-instructions --- CMakeLists.txt | 6 ------ 1 file changed, 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2660eb33..eface107 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -25,12 +25,6 @@ if(NOT CMAKE_BUILD_TYPE) set(CMAKE_BUILD_TYPE Release) endif() -if (CMAKE_COMPILER_IS_GNUCXX AND CMAKE_BUILD_TYPE STREQUAL "Release") - # If using GNU increase maximum number of instructions considered for inlining - # in Release mode in this folder and sub-folders - add_compile_options(--param max-inline-insns-single=1500) -endif() - # Set coverage compiler flags - must come before any targets are defined if(GMGPOLAR_ENABLE_COVERAGE) if(CMAKE_CXX_COMPILER_ID MATCHES "GNU|Clang")