]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libstdc++: Fix typo in pragma
authorJonathan Wakely <jwakely@redhat.com>
Mon, 14 Feb 2022 10:05:47 +0000 (10:05 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Mon, 14 Feb 2022 12:46:04 +0000 (12:46 +0000)
libstdc++-v3/ChangeLog:

* testsuite/20_util/unsynchronized_pool_resource/allocate.cc:
Fix typo.

libstdc++-v3/testsuite/20_util/unsynchronized_pool_resource/allocate.cc

index 25e5ce63b588ad9d3b0d9abd27f967475fc693a9..1c228eaa46ade9a8d961ef35d7980e41e26b0399 100644 (file)
@@ -287,7 +287,7 @@ test07()
     // so that careful_resource::do_allocate can distinguish this allocation
     // from any required for the pool resource's internal data structures):
     void* p = upr.allocate(std::size_t(-2), 1024);
-#pragma GCC distinguish pop
+#pragma GCC diagnostic pop
     // Should not reach here!
     VERIFY( !"attempt to allocate SIZE_MAX-1 should not have succeeded" );
     throw p;