[libc-commits] [libc] [libc][math][NFC] Remove `-fconstexpr-steps` flag (PR #195593)

Muhammad Bassiouni via libc-commits libc-commits at lists.llvm.org
Sun May 3 23:42:55 PDT 2026


https://github.com/bassiounix created https://github.com/llvm/llvm-project/pull/195593

None

>From 9770827ead707d910bf15b5ede8d341d2d9c8aa1 Mon Sep 17 00:00:00 2001
From: bassiounix <muhammad.m.bassiouni at gmail.com>
Date: Mon, 4 May 2026 09:42:16 +0300
Subject: [PATCH] [libc][math][NFC] Remove `-fconstexpr-steps` flag

---
 libc/test/shared/CMakeLists.txt | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/libc/test/shared/CMakeLists.txt b/libc/test/shared/CMakeLists.txt
index 680491878705c..158918d9454c6 100644
--- a/libc/test/shared/CMakeLists.txt
+++ b/libc/test/shared/CMakeLists.txt
@@ -745,9 +745,6 @@ add_fp_unittest(
     libc.src.__support.math.totalordermagf128
     libc.src.__support.math.totalordermagf16
     libc.src.__support.math.totalordermagl
-  COMPILE_OPTIONS
-    $<$<CXX_COMPILER_ID:Clang>:-Xclang -fconstexpr-steps=1000000>
-    $<$<CXX_COMPILER_ID:GNU>:-fconstexpr-ops-limit=1000000 -fconstexpr-depth=100000>
 )
 
 add_fp_unittest(



More information about the libc-commits mailing list