Skip to content

Commit e2b1607

Browse files
committed
Adjust constexpr steps
1 parent d1d4653 commit e2b1607

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

libcxx/test/std/algorithms/alg.sorting/alg.sort/stable.sort/stable_sort.pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// constexpr void // constexpr since C++26
1313
// stable_sort(RandomAccessIterator first, RandomAccessIterator last);
1414

15-
// ADDITIONAL_COMPILE_FLAGS(has-fconstexpr-steps): -fconstexpr-steps=20000000
15+
// ADDITIONAL_COMPILE_FLAGS(has-fconstexpr-steps): -fconstexpr-steps=200000000
1616
// ADDITIONAL_COMPILE_FLAGS(has-fconstexpr-ops-limit): -fconstexpr-ops-limit=200000000
1717

1818
#include <algorithm>

libcxx/test/std/algorithms/alg.sorting/alg.sort/stable.sort/stable_sort_comp.pass.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
// template<RandomAccessIterator Iter, StrictWeakOrder<auto, Iter::value_type> Compare>
1212
// requires ShuffleIterator<Iter> && CopyConstructible<Compare>
1313
// constexpr void stable_sort(Iter first, Iter last, Compare comp); // constexpr since C++26
14+
//
15+
// ADDITIONAL_COMPILE_FLAGS(has-fconstexpr-steps): -fconstexpr-steps=200000000
16+
// ADDITIONAL_COMPILE_FLAGS(has-fconstexpr-ops-limit): -fconstexpr-ops-limit=200000000
1417

1518
#include <algorithm>
1619
#include <functional>

0 commit comments

Comments
 (0)