diff --git a/libstdc++-v3/include/std/stacktrace b/libstdc++-v3/include/std/stacktrace index dd78c71c5dc..79038e803f2 100644 --- a/libstdc++-v3/include/std/stacktrace +++ b/libstdc++-v3/include/std/stacktrace @@ -579,7 +579,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION { __try { - if (0 < __n && __n <= _S_max_size(__alloc)) [[unlikely]] + if (0 < __n && __n <= _S_max_size(__alloc)) [[likely]] { _M_frames = __alloc.allocate(__n); _M_capacity = __n;