[libcxx-commits] [libcxx] [libc++] constexpr deque (PR #129368)
A. Jiang via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Mar 11 04:09:38 PDT 2026
================
@@ -8,6 +8,9 @@
//
// REQUIRES: long_tests
+// ADDITIONAL_COMPILE_FLAGS(has-fconstexpr-steps): -fconstexpr-steps=4294967295
+// ADDITIONAL_COMPILE_FLAGS(has-fconstexpr-ops-limit): -fconstexpr-ops-limit=4294967295
----------------
frederick-vs-ja wrote:
It's just insane to use 4294967295. I think we ought to use some small limits.
Many tests for `deque` tests are quite heavy as they consume 10^8 ~ 10^9 steps. Moreover, `erase_iter_iter.pass.cpp` is much heavier so that it's unacceptable to run all cases for constant evaluation in CI, and even limiting at 4294967295 didn't work.
https://github.com/llvm/llvm-project/pull/129368
More information about the libcxx-commits
mailing list