get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/2196278/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 2196278,
    "url": "http://patchwork.ozlabs.org/api/patches/2196278/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/gcc/patch/20260213101311.401761-1-tkaminsk@redhat.com/",
    "project": {
        "id": 17,
        "url": "http://patchwork.ozlabs.org/api/projects/17/?format=api",
        "name": "GNU Compiler Collection",
        "link_name": "gcc",
        "list_id": "gcc-patches.gcc.gnu.org",
        "list_email": "gcc-patches@gcc.gnu.org",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20260213101311.401761-1-tkaminsk@redhat.com>",
    "list_archive_url": null,
    "date": "2026-02-13T10:13:07",
    "name": "libstdc++: Make __gnu_test:uneq_allocator(int) constructor explicit.",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "b936e25c5029471c323db24fdfbc33a9965bce83",
    "submitter": {
        "id": 90409,
        "url": "http://patchwork.ozlabs.org/api/people/90409/?format=api",
        "name": "Tomasz Kaminski",
        "email": "tkaminsk@redhat.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/gcc/patch/20260213101311.401761-1-tkaminsk@redhat.com/mbox/",
    "series": [
        {
            "id": 492075,
            "url": "http://patchwork.ozlabs.org/api/series/492075/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/gcc/list/?series=492075",
            "date": "2026-02-13T10:13:07",
            "name": "libstdc++: Make __gnu_test:uneq_allocator(int) constructor explicit.",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/492075/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2196278/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2196278/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "gcc-patches@gcc.gnu.org"
        ],
        "Delivered-To": [
            "patchwork-incoming@legolas.ozlabs.org",
            "gcc-patches@gcc.gnu.org"
        ],
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256\n header.s=mimecast20190719 header.b=fSBrX2Vr;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org\n (client-ip=38.145.34.32; helo=vm01.sourceware.org;\n envelope-from=gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org;\n receiver=patchwork.ozlabs.org)",
            "sourceware.org;\n\tdkim=pass (1024-bit key,\n unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256\n header.s=mimecast20190719 header.b=fSBrX2Vr",
            "sourceware.org; dmarc=pass (p=quarantine dis=none)\n header.from=redhat.com",
            "sourceware.org; spf=pass smtp.mailfrom=redhat.com",
            "server2.sourceware.org;\n arc=none smtp.remote-ip=170.10.133.124"
        ],
        "Received": [
            "from vm01.sourceware.org (vm01.sourceware.org [38.145.34.32])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fC7LW4sd2z1xpY\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 13 Feb 2026 21:14:11 +1100 (AEDT)",
            "from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id 5E6314B9DB66\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 13 Feb 2026 10:14:09 +0000 (GMT)",
            "from us-smtp-delivery-124.mimecast.com\n (us-smtp-delivery-124.mimecast.com [170.10.133.124])\n by sourceware.org (Postfix) with ESMTP id 27E914B9DB72\n for <gcc-patches@gcc.gnu.org>; Fri, 13 Feb 2026 10:13:19 +0000 (GMT)",
            "from mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com\n (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by\n relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3,\n cipher=TLS_AES_256_GCM_SHA384) id us-mta-12-qrp6FLRWOdSM88WkoRIwYQ-1; Fri,\n 13 Feb 2026 05:13:15 -0500",
            "from mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com\n (mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.17])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n (No client certificate requested)\n by mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS\n id 3EE041800451; Fri, 13 Feb 2026 10:13:14 +0000 (UTC)",
            "from localhost (unknown [10.45.225.246])\n by mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP\n id 7E2CE1955D85; Fri, 13 Feb 2026 10:13:13 +0000 (UTC)"
        ],
        "DKIM-Filter": [
            "OpenDKIM Filter v2.11.0 sourceware.org 5E6314B9DB66",
            "OpenDKIM Filter v2.11.0 sourceware.org 27E914B9DB72"
        ],
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 sourceware.org 27E914B9DB72",
        "ARC-Filter": "OpenARC Filter v1.0.0 sourceware.org 27E914B9DB72",
        "ARC-Seal": "i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1770977599; cv=none;\n b=WOvq7w37vkHJIwFJ0VZnAd/gEHwvSqCL0lxLwrlvfyiZUbCdVK1MCnF1VQJAhAfMhBbZK3sYLEq8EJrIyUioQRpU3sf/RtNVwmAoAnM6ygvbXAQocFeyyEexZIuM33NWvTnscmjavsg1Ngc77fgidItMi5Kq37ilaeCAE8ovBi8=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1770977599; c=relaxed/simple;\n bh=zQ37a7NFtfMxPmKZWvO635FKtJIoF0VVv9UM9wpUMhk=;\n h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version;\n b=ABwJBEQMgZuhPNK8StV2OMjZzDRU5wy1yjjQcNvPZcqzZ8hxXXi6cw47KuaSEM4DifMv7kKPk2hsR4t3y3+6rEzefjG/lHNJ+DU5QUXlgdMzLdy2DoS2j9v4sEXud3Yzw4VovZd10D7rNnQm4LOqijkcIKFE54WKBZffYsS5K1I=",
        "ARC-Authentication-Results": "i=1; server2.sourceware.org",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1770977598;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:cc:mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding;\n bh=V5IeMqs3nRMFeIF9yEY3qU5edojDH9mbrXkmVtW7r0k=;\n b=fSBrX2Vr4gA4O1x5PKAeQkly3/r3XYSjF5P5MAqIP2Z1iWyTGee63ZLpDUBIbBfuk+GDP0\n 6zp5VDBXVxKTwkiq6Rkat9ZHQToTtf7G9bMrNYgIgB2VVMvqW9nxvzuJffLxzyE9FfuR5U\n YDBRH2MSy8jWjI2rdmx+ZqdCZG4BIPw=",
        "X-MC-Unique": "qrp6FLRWOdSM88WkoRIwYQ-1",
        "X-Mimecast-MFC-AGG-ID": "qrp6FLRWOdSM88WkoRIwYQ_1770977594",
        "From": "=?utf-8?q?Tomasz_Kami=C5=84ski?= <tkaminsk@redhat.com>",
        "To": "libstdc++@gcc.gnu.org,\n\tgcc-patches@gcc.gnu.org",
        "Cc": "Jonathan Wakely <jwakely@redhat.com>",
        "Subject": "[PATCH] libstdc++: Make __gnu_test:uneq_allocator(int) constructor\n explicit.",
        "Date": "Fri, 13 Feb 2026 11:13:07 +0100",
        "Message-ID": "<20260213101311.401761-1-tkaminsk@redhat.com>",
        "MIME-Version": "1.0",
        "X-Scanned-By": "MIMEDefang 3.0 on 10.30.177.17",
        "X-Mimecast-Spam-Score": "0",
        "X-Mimecast-MFC-PROC-ID": "7M-u-HYnWtnV5kVUkF7DanjV8bfqCBQLOHtXYfe6fQc_1770977594",
        "X-Mimecast-Originator": "redhat.com",
        "Content-Type": "text/plain; charset=UTF-8",
        "Content-Transfer-Encoding": "8bit",
        "X-BeenThere": "gcc-patches@gcc.gnu.org",
        "X-Mailman-Version": "2.1.30",
        "Precedence": "list",
        "List-Id": "Gcc-patches mailing list <gcc-patches.gcc.gnu.org>",
        "List-Unsubscribe": "<https://gcc.gnu.org/mailman/options/gcc-patches>,\n <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe>",
        "List-Archive": "<https://gcc.gnu.org/pipermail/gcc-patches/>",
        "List-Post": "<mailto:gcc-patches@gcc.gnu.org>",
        "List-Help": "<mailto:gcc-patches-request@gcc.gnu.org?subject=help>",
        "List-Subscribe": "<https://gcc.gnu.org/mailman/listinfo/gcc-patches>,\n <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe>",
        "Errors-To": "gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org"
    },
    "content": "Presence implicit conversion from int to it's allocator, makes constructing\nstring from rvalue of same string type and int ambiguous, as none of following\ncandidates is better:\n  basic_string(basic_string&&, allocator_type)\n  // conversion from int to allocator for second argument\n  basic_string(const basic_string&, int, allocator_type)\n  // reference adjustment for first argument\n\nThis makes __gnu_test:uneq_allocator(int) constructor explicit, to avoid\nabove issues.\n\nlibstdc++-v3/ChangeLog:\n\n\t* testsuite/20_util/scoped_allocator/construct_pair_c++2a.cc\n\t(__gnu_test::uneq_allocator(int)): Declare as explicit.\n\t* testsuite/std/memory/indirect/ctor.cc: Construct uneq_allocator\n\tfrom int explicitly.\n\t* testsuite/std/memory/polymorphic/ctor.cc: Likewise.\n\t* testsuite/std/memory/polymorphic/ctor_poly.cc: Likewise.\n\t* testsuite/util/testsuite_allocator.h: Likewise.\n\nReviewed-by: Jonathan Wakely <jwakely@redhat.com>\nSigned-off-by: Tomasz Kamiński <tkaminsk@redhat.com>\n---\n .../scoped_allocator/construct_pair_c++2a.cc  | 12 ++++----\n .../testsuite/std/memory/indirect/ctor.cc     | 29 +++++++++++--------\n .../testsuite/std/memory/polymorphic/ctor.cc  | 27 ++++++++++-------\n .../std/memory/polymorphic/ctor_poly.cc       | 18 +++++++-----\n .../testsuite/util/testsuite_allocator.h      |  2 +-\n 5 files changed, 51 insertions(+), 37 deletions(-)",
    "diff": "diff --git a/libstdc++-v3/testsuite/20_util/scoped_allocator/construct_pair_c++2a.cc b/libstdc++-v3/testsuite/20_util/scoped_allocator/construct_pair_c++2a.cc\nindex ecc26cb5a63..4eb174a89f3 100644\n--- a/libstdc++-v3/testsuite/20_util/scoped_allocator/construct_pair_c++2a.cc\n+++ b/libstdc++-v3/testsuite/20_util/scoped_allocator/construct_pair_c++2a.cc\n@@ -39,10 +39,10 @@ void\n test01()\n {\n   using value_type = std::pair<std::pair<X, int>, std::pair<int, X>>;\n-  using scoped_alloc\n-    = std::scoped_allocator_adaptor<__gnu_test::uneq_allocator<value_type>>;\n+  using uneq_alloc = __gnu_test::uneq_allocator<value_type>;\n+  using scoped_alloc = std::scoped_allocator_adaptor<uneq_alloc>;\n \n-  const scoped_alloc a(10);\n+  const scoped_alloc a(uneq_alloc(10));\n   std::vector<value_type, scoped_alloc> v(a);\n   VERIFY( v.get_allocator().get_personality() == a.get_personality() );\n \n@@ -65,11 +65,11 @@ void\n test02()\n {\n   using value_type = std::pair<std::pair<X, int>, std::pair<int, X>>;\n+  using uneq_alloc = __gnu_test::uneq_allocator<value_type>;\n   using scoped_alloc\n-    = std::scoped_allocator_adaptor<__gnu_test::uneq_allocator<value_type>,\n-\t\t\t\t    X::allocator_type>;\n+    = std::scoped_allocator_adaptor<uneq_alloc, X::allocator_type>;\n \n-  const scoped_alloc a(10, 20);\n+  const scoped_alloc a(uneq_alloc(10),  X::allocator_type(20));\n   std::vector<value_type, scoped_alloc> v(a);\n   VERIFY( v.get_allocator().get_personality() == a.get_personality() );\n \ndiff --git a/libstdc++-v3/testsuite/std/memory/indirect/ctor.cc b/libstdc++-v3/testsuite/std/memory/indirect/ctor.cc\nindex dfd9341582f..ec34e584b3f 100644\n--- a/libstdc++-v3/testsuite/std/memory/indirect/ctor.cc\n+++ b/libstdc++-v3/testsuite/std/memory/indirect/ctor.cc\n@@ -16,9 +16,9 @@\n \n using __gnu_test::uneq_allocator;\n using UneqAlloc = uneq_allocator<int>;\n-using ScopedAlloc = std::scoped_allocator_adaptor<\n-  uneq_allocator<std::vector<int, UneqAlloc>>,\n-  UneqAlloc>;\n+using UneqVecAlloc = uneq_allocator<std::vector<int, UneqAlloc>>;\n+using ScopedAlloc\n+  = std::scoped_allocator_adaptor<UneqVecAlloc, UneqAlloc>;\n \n struct Obj\n {\n@@ -61,9 +61,10 @@ test_default_ctor()\n   if (std::is_constant_evaluated())\n     return;\n \n+  const ScopedAlloc scopedAlloc(UneqVecAlloc(11), UneqAlloc(22));\n   // Object is constructed using allocator-aware constructor.\n   std::indirect<std::vector<int, UneqAlloc>, ScopedAlloc>\n-    i3(std::allocator_arg, ScopedAlloc(11, 22));\n+    i3(std::allocator_arg, scopedAlloc);\n   VERIFY( i3->empty() );\n   VERIFY( i3->get_allocator().get_personality() == 22 );\n   VERIFY( i3.get_allocator().get_personality() == 11 );\n@@ -99,17 +100,18 @@ test_forwarding_ctor()\n   if (std::is_constant_evaluated())\n     return;\n \n+  const ScopedAlloc scopedAlloc(UneqVecAlloc(11), UneqAlloc(22));\n   std::vector<int, UneqAlloc> v{1, 2, 3, 4, 5};\n   // Object is constructed using allocator-aware constructor.\n   std::indirect<std::vector<int, UneqAlloc>, ScopedAlloc>\n-    i7(std::allocator_arg, ScopedAlloc(11, 22), v);\n+    i7(std::allocator_arg, scopedAlloc, v);\n   VERIFY( i7->size() == 5  );\n   VERIFY( v.size() == 5 );\n   VERIFY( i7->get_allocator().get_personality() == 22 );\n   VERIFY( i7.get_allocator().get_personality() == 11 );\n \n   std::indirect<std::vector<int, UneqAlloc>, ScopedAlloc>\n-    i8(std::allocator_arg, ScopedAlloc(11, 22), std::move(v));\n+    i8(std::allocator_arg, scopedAlloc, std::move(v));\n   VERIFY( i8->size() == 5  );\n   VERIFY( v.size() == 0 );\n   VERIFY( i8->get_allocator().get_personality() == 22 );\n@@ -130,14 +132,16 @@ test_inplace_ctor()\n   VERIFY( i2->c[1] == 0 );\n \n   std::indirect<Obj, uneq_allocator<Obj>>\n-    i3(std::allocator_arg, 42, std::in_place);\n+    i3(std::allocator_arg, uneq_allocator<Obj>(42),\n+       std::in_place);\n   VERIFY( i3->i == 0 );\n   VERIFY( i3->c[0] == 0 );\n   VERIFY( i3->c[1] == 0 );\n   VERIFY( i3.get_allocator().get_personality() == 42 );\n \n-  std::indirect<Obj,  uneq_allocator<Obj>>\n-    i4(std::allocator_arg, 42, std::in_place, 10);\n+  std::indirect<Obj, uneq_allocator<Obj>>\n+    i4(std::allocator_arg, uneq_allocator<Obj>(42),\n+       std::in_place, 10);\n   VERIFY( i4->i == 10 );\n   VERIFY( i4->c[0] == 0 );\n   VERIFY( i4->c[1] == 0 );\n@@ -174,15 +178,16 @@ test_inplace_ctor()\n   if (std::is_constant_evaluated())\n     return;\n \n+  const ScopedAlloc scopedAlloc(UneqVecAlloc(11), UneqAlloc(22));\n   std::indirect<std::vector<int, UneqAlloc>, ScopedAlloc>\n-    i14(std::allocator_arg, ScopedAlloc(11, 22),\n+    i14(std::allocator_arg, scopedAlloc,\n \tstd::in_place);\n   VERIFY( i14->size() == 0 );\n   VERIFY( i14->get_allocator().get_personality() == 22 );\n   VERIFY( i14.get_allocator().get_personality() == 11 );\n \n   std::indirect<std::vector<int, UneqAlloc>, ScopedAlloc>\n-    i15(std::allocator_arg, ScopedAlloc(11, 22),\n+    i15(std::allocator_arg, scopedAlloc,\n \tstd::in_place, 5, 13);\n   VERIFY( i15->size() == 5 );\n   VERIFY( i15->at(0) == 13 );\n@@ -190,7 +195,7 @@ test_inplace_ctor()\n   VERIFY( i15.get_allocator().get_personality() == 11 );\n \n   std::indirect<std::vector<int, UneqAlloc>, ScopedAlloc>\n-    i16(std::allocator_arg, ScopedAlloc(11, 22),\n+    i16(std::allocator_arg, scopedAlloc,\n \tstd::in_place, {1, 2, 3, 4});\n   VERIFY( i16->size() == 4 );\n   VERIFY( i16->at(2) == 3 );\ndiff --git a/libstdc++-v3/testsuite/std/memory/polymorphic/ctor.cc b/libstdc++-v3/testsuite/std/memory/polymorphic/ctor.cc\nindex 4d043db0ea4..a81d5615b4a 100644\n--- a/libstdc++-v3/testsuite/std/memory/polymorphic/ctor.cc\n+++ b/libstdc++-v3/testsuite/std/memory/polymorphic/ctor.cc\n@@ -16,9 +16,9 @@\n \n using __gnu_test::uneq_allocator;\n using UneqAlloc = uneq_allocator<int>;\n-using ScopedAlloc = std::scoped_allocator_adaptor<\n-  uneq_allocator<std::vector<int, UneqAlloc>>,\n-  UneqAlloc>;\n+using UneqVecAlloc = uneq_allocator<std::vector<int, UneqAlloc>>;\n+using ScopedAlloc\n+  = std::scoped_allocator_adaptor<UneqVecAlloc, UneqAlloc>;\n \n struct Obj\n {\n@@ -48,9 +48,10 @@ test_default_ctor()\n   if (std::is_constant_evaluated())\n     return;\n \n+  const ScopedAlloc scopedAlloc(UneqVecAlloc(11), UneqAlloc(22));\n   // Object is constructed using allocator-aware constructor.\n   std::polymorphic<std::vector<int, UneqAlloc>, ScopedAlloc>\n-    i3(std::allocator_arg, ScopedAlloc(11, 22));\n+    i3(std::allocator_arg, scopedAlloc);\n   VERIFY( i3->empty() );\n   VERIFY( i3->get_allocator().get_personality() == 22 );\n   VERIFY( i3.get_allocator().get_personality() == 11 );\n@@ -82,17 +83,18 @@ test_forwarding_ctor()\n   if (std::is_constant_evaluated())\n     return;\n \n+  const ScopedAlloc scopedAlloc(UneqVecAlloc(11), UneqAlloc(22));\n   std::vector<int, UneqAlloc> v{1, 2, 3, 4, 5};\n   // Object is constructed using allocator-aware constructor.\n   std::polymorphic<std::vector<int, UneqAlloc>, ScopedAlloc>\n-    i7(std::allocator_arg, ScopedAlloc(11, 22), v);\n+    i7(std::allocator_arg, scopedAlloc, v);\n   VERIFY( i7->size() == 5  );\n   VERIFY( v.size() == 5 );\n   VERIFY( i7->get_allocator().get_personality() == 22 );\n   VERIFY( i7.get_allocator().get_personality() == 11 );\n \n   std::polymorphic<std::vector<int, UneqAlloc>, ScopedAlloc>\n-    i8(std::allocator_arg, ScopedAlloc(11, 22), std::move(v));\n+    i8(std::allocator_arg, scopedAlloc, std::move(v));\n   VERIFY( i8->size() == 5  );\n   VERIFY( v.size() == 0 );\n   VERIFY( i8->get_allocator().get_personality() == 22 );\n@@ -113,14 +115,16 @@ test_inplace_ctor()\n   VERIFY( i2->c[1] == 0 );\n \n   std::polymorphic<Obj, uneq_allocator<Obj>>\n-    i3(std::allocator_arg, 42, std::in_place_type<Obj>);\n+    i3(std::allocator_arg, uneq_allocator<Obj>(42),\n+       std::in_place_type<Obj>);\n   VERIFY( i3->i == 0 );\n   VERIFY( i3->c[0] == 0 );\n   VERIFY( i3->c[1] == 0 );\n   VERIFY( i3.get_allocator().get_personality() == 42 );\n \n   std::polymorphic<Obj,  uneq_allocator<Obj>>\n-    i4(std::allocator_arg, 42, std::in_place_type<Obj>, 10);\n+    i4(std::allocator_arg, uneq_allocator<Obj>(42),\n+       std::in_place_type<Obj>, 10);\n   VERIFY( i4->i == 10 );\n   VERIFY( i4->c[0] == 0 );\n   VERIFY( i4->c[1] == 0 );\n@@ -160,15 +164,16 @@ test_inplace_ctor()\n   if (std::is_constant_evaluated())\n     return;\n \n+  const ScopedAlloc scopedAlloc(UneqVecAlloc(11), UneqAlloc(22));\n   std::polymorphic<std::vector<int, UneqAlloc>, ScopedAlloc>\n-    i14(std::allocator_arg, ScopedAlloc(11, 22),\n+    i14(std::allocator_arg, scopedAlloc,\n \tstd::in_place_type<std::vector<int, UneqAlloc>>);\n   VERIFY( i14->size() == 0 );\n   VERIFY( i14->get_allocator().get_personality() == 22 );\n   VERIFY( i14.get_allocator().get_personality() == 11 );\n \n   std::polymorphic<std::vector<int, UneqAlloc>, ScopedAlloc>\n-    i15(std::allocator_arg, ScopedAlloc(11, 22),\n+    i15(std::allocator_arg, scopedAlloc,\n \tstd::in_place_type<std::vector<int, UneqAlloc>>, 5, 13);\n   VERIFY( i15->size() == 5 );\n   VERIFY( i15->at(0) == 13 );\n@@ -176,7 +181,7 @@ test_inplace_ctor()\n   VERIFY( i15.get_allocator().get_personality() == 11 );\n \n   std::polymorphic<std::vector<int, UneqAlloc>, ScopedAlloc>\n-    i16(std::allocator_arg, ScopedAlloc(11, 22),\n+    i16(std::allocator_arg, scopedAlloc,\n \tstd::in_place_type<std::vector<int, UneqAlloc>>, {1, 2, 3, 4});\n   VERIFY( i16->size() == 4 );\n   VERIFY( i16->at(2) == 3 );\ndiff --git a/libstdc++-v3/testsuite/std/memory/polymorphic/ctor_poly.cc b/libstdc++-v3/testsuite/std/memory/polymorphic/ctor_poly.cc\nindex cb18031a903..2c275d199d9 100644\n--- a/libstdc++-v3/testsuite/std/memory/polymorphic/ctor_poly.cc\n+++ b/libstdc++-v3/testsuite/std/memory/polymorphic/ctor_poly.cc\n@@ -129,16 +129,17 @@ test_forwarding_ctor()\n   if (std::is_constant_evaluated())\n     return;\n \n+  const ScopedAlloc scopedAlloc(uneq_allocator<Base>(11), UneqAlloc(22));\n   const VecDerived<int, UneqAlloc> v{1, 2, 3, 4, 5};\n   // Object is constructed using allocator-aware constructor.\n   std::polymorphic<Base, ScopedAlloc>\n-    i5(std::allocator_arg, ScopedAlloc(11, 22), v);\n+    i5(std::allocator_arg, scopedAlloc, v);\n   VERIFY( *i5 == v );\n   VERIFY( i5->get_personality() == 22 );\n   VERIFY( i5.get_allocator().get_personality() == 11 );\n \n   std::polymorphic<Base, ScopedAlloc>\n-    i6(std::allocator_arg, ScopedAlloc(11, 22), auto(v));\n+    i6(std::allocator_arg, scopedAlloc, auto(v));\n   VERIFY( *i6 == v  );\n   VERIFY( i6->get_personality() == 22 );\n   VERIFY( i6.get_allocator().get_personality() == 11 );\n@@ -156,13 +157,15 @@ test_inplace_ctor()\n   VERIFY( i2->get_personality() == -2 );\n \n   std::polymorphic<Base, uneq_allocator<Base>>\n-    i3(std::allocator_arg, 42, std::in_place_type<ObjDerived>);\n+    i3(std::allocator_arg, uneq_allocator<Base>(42),\n+       std::in_place_type<ObjDerived>);\n   VERIFY( *i3 == ObjDerived() );\n   VERIFY( i3->get_personality() == -2 );\n   VERIFY( i3.get_allocator().get_personality() == 42 );\n \n   std::polymorphic<Base, uneq_allocator<Base>>\n-    i4(std::allocator_arg, 42, std::in_place_type<ObjDerived>, 10, 20, 30);\n+    i4(std::allocator_arg, uneq_allocator<Base>(42),\n+       std::in_place_type<ObjDerived>, 10, 20, 30);\n   VERIFY( *i4 == ObjDerived(10, 20, 30) );\n   VERIFY( i4->get_personality() == -2 );\n   VERIFY( i4.get_allocator().get_personality() == 42 );\n@@ -189,22 +192,23 @@ test_inplace_ctor()\n   if (std::is_constant_evaluated())\n     return;\n \n+  const ScopedAlloc scopedAlloc(uneq_allocator<Base>(11), UneqAlloc(22));\n   std::polymorphic<Base, ScopedAlloc>\n-    i8(std::allocator_arg, ScopedAlloc(11, 22),\n+    i8(std::allocator_arg, scopedAlloc,\n \tstd::in_place_type<VecDerived<int, UneqAlloc>>);\n   VERIFY( *i8 == ze );\n   VERIFY( i8->get_personality() == 22 );\n   VERIFY( i8.get_allocator().get_personality() == 11 );\n \n   std::polymorphic<Base, ScopedAlloc>\n-    i9(std::allocator_arg, ScopedAlloc(11, 22),\n+    i9(std::allocator_arg, scopedAlloc,\n        std::in_place_type<VecDerived<int, UneqAlloc>>, 5, 13);\n   VERIFY( *i9 == fe );\n   VERIFY( i9->get_personality() == 22 );\n   VERIFY( i9.get_allocator().get_personality() == 11 );\n \n   std::polymorphic<Base, ScopedAlloc>\n-    i10(std::allocator_arg, ScopedAlloc(11, 22),\n+    i10(std::allocator_arg, scopedAlloc,\n \tstd::in_place_type<VecDerived<int, UneqAlloc>>, {1, 2, 3, 4});\n   VERIFY( *i10 == il );\n   VERIFY( i10->get_personality() == 22 );\ndiff --git a/libstdc++-v3/testsuite/util/testsuite_allocator.h b/libstdc++-v3/testsuite/util/testsuite_allocator.h\nindex 295b458e3c6..892a385e307 100644\n--- a/libstdc++-v3/testsuite/util/testsuite_allocator.h\n+++ b/libstdc++-v3/testsuite/util/testsuite_allocator.h\n@@ -332,7 +332,7 @@ namespace __gnu_test\n       uneq_allocator() _GLIBCXX_USE_NOEXCEPT\n       : personality(0) { }\n \n-      _GLIBCXX_CONSTEXPR\n+      _GLIBCXX_CONSTEXPR explicit\n       uneq_allocator(int person) _GLIBCXX_USE_NOEXCEPT\n       : personality(person) { }\n \n",
    "prefixes": []
}