libstdc++: Fix test failures at -O0
authorJonathan Wakely <jwakely@redhat.com>
Fri, 11 Feb 2022 21:17:05 +0000 (21:17 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Fri, 11 Feb 2022 21:41:43 +0000 (21:41 +0000)
commitb02247346ea7e403d706b9ccabf9078c060adb9e
treea184770b98cdb4a3dccec0195d1f8a386620e0b4
parent9355a8c35883b5125851bb9b4169a1a1cd8e343f
libstdc++: Fix test failures at -O0

libstdc++-v3/ChangeLog:

* testsuite/20_util/monotonic_buffer_resource/allocate.cc:
Ignore -Walloc-larger-than warning.
* testsuite/20_util/unsynchronized_pool_resource/allocate.cc:
Likewise.
* testsuite/29_atomics/atomic/cons/user_pod.cc: Compile with -O1
to avoid linker error for __atomic_is_lock_free.
libstdc++-v3/testsuite/20_util/monotonic_buffer_resource/allocate.cc
libstdc++-v3/testsuite/20_util/unsynchronized_pool_resource/allocate.cc
libstdc++-v3/testsuite/29_atomics/atomic/cons/user_pod.cc