get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2196131,
    "url": "http://patchwork.ozlabs.org/api/patches/2196131/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/gcc/patch/20260212221128.145596-5-feedabl3@gmail.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": "<20260212221128.145596-5-feedabl3@gmail.com>",
    "list_archive_url": null,
    "date": "2026-02-12T22:08:08",
    "name": "[v3,4/4] testsuite: Fix test requirements",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "5a4047be6b4c9f57870bd3800b9818deba658dc4",
    "submitter": {
        "id": 92146,
        "url": "http://patchwork.ozlabs.org/api/people/92146/?format=api",
        "name": "feedable",
        "email": "feedabl3@gmail.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/gcc/patch/20260212221128.145596-5-feedabl3@gmail.com/mbox/",
    "series": [
        {
            "id": 492031,
            "url": "http://patchwork.ozlabs.org/api/series/492031/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/gcc/list/?series=492031",
            "date": "2026-02-12T22:08:04",
            "name": "Clean up test requirements",
            "version": 3,
            "mbox": "http://patchwork.ozlabs.org/series/492031/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2196131/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2196131/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 (2048-bit key;\n unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20230601 header.b=b9JEH/Is;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org\n (client-ip=2620:52:6:3111::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 (2048-bit key,\n unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20230601 header.b=b9JEH/Is",
            "sourceware.org;\n dmarc=pass (p=none dis=none) header.from=gmail.com",
            "sourceware.org; spf=pass smtp.mailfrom=gmail.com",
            "server2.sourceware.org;\n arc=none smtp.remote-ip=209.85.128.41"
        ],
        "Received": [
            "from vm01.sourceware.org (vm01.sourceware.org\n [IPv6:2620:52:6:3111::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 4fBqLQ3Y7Qz1xr1\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 13 Feb 2026 09:13:02 +1100 (AEDT)",
            "from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id 871E14B9DB7F\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 12 Feb 2026 22:12:55 +0000 (GMT)",
            "from mail-wm1-f41.google.com (mail-wm1-f41.google.com\n [209.85.128.41])\n by sourceware.org (Postfix) with ESMTPS id C4EAF4B9DB72\n for <gcc-patches@gcc.gnu.org>; Thu, 12 Feb 2026 22:11:49 +0000 (GMT)",
            "by mail-wm1-f41.google.com with SMTP id\n 5b1f17b1804b1-47ee07570deso3080205e9.1\n for <gcc-patches@gcc.gnu.org>; Thu, 12 Feb 2026 14:11:49 -0800 (PST)",
            "from 7a38.moduleworks.com ([2a02:8308:81:a900:fbf:c4a4:796f:57b1])\n by smtp.gmail.com with ESMTPSA id\n 5b1f17b1804b1-4835dfb4bd4sm155439315e9.7.2026.02.12.14.11.47\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Thu, 12 Feb 2026 14:11:48 -0800 (PST)"
        ],
        "DKIM-Filter": [
            "OpenDKIM Filter v2.11.0 sourceware.org 871E14B9DB7F",
            "OpenDKIM Filter v2.11.0 sourceware.org C4EAF4B9DB72"
        ],
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 sourceware.org C4EAF4B9DB72",
        "ARC-Filter": "OpenARC Filter v1.0.0 sourceware.org C4EAF4B9DB72",
        "ARC-Seal": "i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1770934310; cv=none;\n b=kKc2KkeFLNjZtFqQHfeb6TTEgQ0ECxTniU0bkKCpSHT79JyFb6gQ2DlC/N6E2WnC4duI+j6IWgFfMTXnoNOHZl564X+zCrnIRPTQEuj5OLNwNavmQmST1hZcXinAwHorKFGW/4pgLnfwQvIK2cKQBaw7FhqfddxAkxtxrk0e3iE=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1770934310; c=relaxed/simple;\n bh=3sJJ7KmnRxbKA59CfsMGje/Vhk7i3U6s1qjitfIXBzQ=;\n h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version;\n b=kxXlgATzq5jm8660UAZ/N+XKSEucaKiXfEFFl3feWTGQ9+iu3wgFjIN4zse4KTNVjtcTj1Rd2EDzqxzu3yTAftegJzLwJyZU6s9JvoDGmUON5/2CNFGgbJJEziLwq9U84npFyCppZz2CFopwJ8wzbGP5prmRQiU2TG85vUMRmBQ=",
        "ARC-Authentication-Results": "i=1; server2.sourceware.org",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=gmail.com; s=20230601; t=1770934309; x=1771539109; darn=gcc.gnu.org;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:from:to:cc:subject:date\n :message-id:reply-to;\n bh=pHgZmdVmYvz13bgN2kCoJtfBTErBC+pC8X3BdWToiyI=;\n b=b9JEH/IsF5p0b/ZRMS2/mtLYRuec1yHfkf8u5GKZpTh+C55T4lQ5EvLPReQXxaA2Gr\n LWLQ5+VUsQCc07ISANqWa8Xd4QPkmWtRYIodatJtBRzphwbXyV15vN9drgLFf0VAxROC\n xASjjWHM71Dgh55Zka2/fNYq4FR1MFP6DbZc9uipwN5JahW9gd6llLMBQLma0NUQjQZ9\n H9hrH3tZ4PRFV+AP4k9cnhdfAlpBss14k70JmWn4EABqrvaDY8MxQj1XYtW9bhbcfbF0\n kNgT+k48DlP+Xr4wHCTpMr10WcdmbLLm+PbL6C4KFkeVm32vOlHnY10WTDes3DZ3tHjy\n 7TmA==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1770934309; x=1771539109;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from\n :to:cc:subject:date:message-id:reply-to;\n bh=pHgZmdVmYvz13bgN2kCoJtfBTErBC+pC8X3BdWToiyI=;\n b=XzkZVQ5hqHCEGia8mySgM8XIwAzZ/vi4KhUt8iU7XwQVXRmIMcdvDXKtZ0egjhMf6U\n MGVPPhlsjz0VaOGhVGm8WlSgG/08zEHVx12akcdIk2mLXMt48A6zT51UwZkvaBZM88mp\n FmI+cHjfJ31BY+WDutzkVX+YeeZ7I2DaldBEmNtmluuoxKstUeiK3XmjeumlMyzYqjdW\n 4eXFEG1L7LtETlql9QLvdvtnd449Umi6gjEAlF+tx0/7wYsNN85/nDZ49/r2wWgxsnIw\n ectfOE/tmL2Aq0XST0njBzCA6x3ow6HOT3RQVoxKbv49Of1oaKS2tV9JAxBYLoADdBma\n 8xyg==",
        "X-Gm-Message-State": "AOJu0YxOqSzenj6utb9bDzqm3YO6Ob4weBXed/3kE5nwC1J6r1tmyi1b\n 2I0GJ5TX9ZcU85rEzo8ZLAlZwd5uh9CBJW/HrFRsrteaEDBspWLawPfUwV7zKg==",
        "X-Gm-Gg": "AZuq6aI3wHeyYV4HHDxXkPs4KoZOBRbfN3dgVvzvym4+kfRwJa6C/DIoTyEjGVN5642\n lUs3RrFzUWIGmaD76KwxbbciDiHcY4878eWLjbTnykeLu1FzLRmSVGtgi71luAURQMD0N8evOxN\n KsLT1BTdfv7OW7ZrRIpT0HOpJ52oRy9ifsU4yFxrFTokSLSvQu3JqGvpHevNPrBL1bB3iESWId/\n Dr+POWazCoxETrrbzCRMSfW1h974adka6c2xoSzjLYXAs46bkpkLr6FU50nYF81IdlfUE/sOGWf\n lFyBDkfQUQ2gHDZdDEqt2gUdvjsYGXTP1zC1wYLtGEebGUsHF6Z2gcKQrLWi5OBX/8yR69KFYts\n 6yL7lMHMOkQkQ/K6IZD15c9D8KXU1Rc2hH6dcFvyJ2u5sezrw2iXUD6AihXZp6xxXFkFa+9MZ7c\n 9u9VtspUsn9Tc9QxvpJFUohVzrDkfYaSkdnw==",
        "X-Received": "by 2002:a05:600c:4e8e:b0:482:dbd7:a1c1 with SMTP id\n 5b1f17b1804b1-483710488aemr8171575e9.34.1770934308472;\n Thu, 12 Feb 2026 14:11:48 -0800 (PST)",
        "From": "feedable <feedabl3@gmail.com>",
        "To": "gcc-patches@gcc.gnu.org",
        "Cc": "feedable <feedabl3@gmail.com>",
        "Subject": "[PATCH v3 4/4] testsuite: Fix test requirements",
        "Date": "Fri, 13 Feb 2026 00:08:08 +0200",
        "Message-ID": "<20260212221128.145596-5-feedabl3@gmail.com>",
        "X-Mailer": "git-send-email 2.53.0",
        "In-Reply-To": "<20260212221128.145596-1-feedabl3@gmail.com>",
        "References": "<20260212221128.145596-1-feedabl3@gmail.com>",
        "MIME-Version": "1.0",
        "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": "Add missing dg-require-effective-target\n\ngcc/testsuite/ChangeLog:\n\n\t* c-c++-common/Wdangling-pointer-9.c: Reqiure label_values.\n\t* c-c++-common/analyzer/computed-goto-1.c: Likewise.\n\t* c-c++-common/analyzer/pr102695.c: Likewise.\n\t* c-c++-common/attr-used-7.c: Likewise.\n\t* c-c++-common/attr-used-8.c: Likewise.\n\t* c-c++-common/attr-used-9.c: Likewise.\n\t* gcc.dg/analyzer/boxed-malloc-1.c: Likewise.\n\t* gcc.dg/analyzer/computed-goto-pr110529.c: Likewise.\n\t* gcc.dg/analyzer/malloc-1.c: Likewise.\n\t* gcc.dg/pr106421.c: Likewise.\n\t* gcc.dg/pr110506.c: Likewise.\n\t* gcc.dg/torture/pr108076.c: Likewise.\n\t* c-c++-common/analyzer/feasibility-3.c: Require named_sections.\n\t* c-c++-common/attr-used-5.c: Likewise.\n\t* c-c++-common/attr-used-6.c: Likewise.\n\t* g++.dg/charset/attribute1.c: Likewise.\n\t* gcc.dg/charset/attribute1.c: Likewise.\n\t* gcc.dg/pr116887.c: Likewise.\n\t* gcc.dg/pr83100-2.c: Likewise.\n\t* gcc.dg/pr83100-3.c: Likewise.\n\t* gcc.dg/pr87793.c: Likewise.\n\t* gcc.dg/special/gcsec-1.c: Likewise.\n\t* c-c++-common/analyzer/infinite-recursion-5.c: Require\n          nonlocal_goto.\n\t* gcc.dg/Winfinite-recursion-2.c: Likewise.\n\t* gcc.dg/Winfinite-recursion.c: Likewise.\n\t* gcc.dg/pr101156.c: Likewise.\n\t* gcc.dg/callgraph-info-1.c: Require alias.\n\t* gcc.dg/plugin/diagnostic-test-paths-4.c: Require signal.\n---\n gcc/testsuite/c-c++-common/Wdangling-pointer-9.c           | 1 +\n gcc/testsuite/c-c++-common/analyzer/computed-goto-1.c      | 1 +\n gcc/testsuite/c-c++-common/analyzer/feasibility-3.c        | 1 +\n gcc/testsuite/c-c++-common/analyzer/infinite-recursion-5.c | 1 +\n gcc/testsuite/c-c++-common/analyzer/pr102695.c             | 1 +\n gcc/testsuite/c-c++-common/attr-used-5.c                   | 1 +\n gcc/testsuite/c-c++-common/attr-used-6.c                   | 1 +\n gcc/testsuite/c-c++-common/attr-used-7.c                   | 1 +\n gcc/testsuite/c-c++-common/attr-used-8.c                   | 1 +\n gcc/testsuite/c-c++-common/attr-used-9.c                   | 1 +\n gcc/testsuite/g++.dg/charset/attribute1.c                  | 3 ++-\n gcc/testsuite/gcc.dg/Winfinite-recursion-2.c               | 3 ++-\n gcc/testsuite/gcc.dg/Winfinite-recursion.c                 | 1 +\n gcc/testsuite/gcc.dg/analyzer/boxed-malloc-1.c             | 1 +\n gcc/testsuite/gcc.dg/analyzer/computed-goto-pr110529.c     | 1 +\n gcc/testsuite/gcc.dg/analyzer/malloc-1.c                   | 1 +\n gcc/testsuite/gcc.dg/callgraph-info-1.c                    | 1 +\n gcc/testsuite/gcc.dg/charset/attribute1.c                  | 3 ++-\n gcc/testsuite/gcc.dg/plugin/diagnostic-test-paths-4.c      | 1 +\n gcc/testsuite/gcc.dg/pr101156.c                            | 1 +\n gcc/testsuite/gcc.dg/pr106421.c                            | 1 +\n gcc/testsuite/gcc.dg/pr110506.c                            | 1 +\n gcc/testsuite/gcc.dg/pr116887.c                            | 1 +\n gcc/testsuite/gcc.dg/pr83100-2.c                           | 2 ++\n gcc/testsuite/gcc.dg/pr83100-3.c                           | 1 +\n gcc/testsuite/gcc.dg/pr87793.c                             | 1 +\n gcc/testsuite/gcc.dg/special/gcsec-1.c                     | 1 +\n gcc/testsuite/gcc.dg/torture/pr108076.c                    | 1 +\n 28 files changed, 32 insertions(+), 3 deletions(-)",
    "diff": "diff --git a/gcc/testsuite/c-c++-common/Wdangling-pointer-9.c b/gcc/testsuite/c-c++-common/Wdangling-pointer-9.c\nindex f6c92855404..5fe3164581c 100644\n--- a/gcc/testsuite/c-c++-common/Wdangling-pointer-9.c\n+++ b/gcc/testsuite/c-c++-common/Wdangling-pointer-9.c\n@@ -1,6 +1,7 @@\n /* PR middle-end/106080 */\n /* { dg-do compile } */\n /* { dg-options \"-O2 -Wdangling-pointer\" } */\n+/* { dg-require-effective-target label_values } */\n \n void\n foo (void **failaddr)\ndiff --git a/gcc/testsuite/c-c++-common/analyzer/computed-goto-1.c b/gcc/testsuite/c-c++-common/analyzer/computed-goto-1.c\nindex d6877d3959f..1419a60ab83 100644\n--- a/gcc/testsuite/c-c++-common/analyzer/computed-goto-1.c\n+++ b/gcc/testsuite/c-c++-common/analyzer/computed-goto-1.c\n@@ -1,3 +1,4 @@\n+/* { dg-require-effective-target label_values } */\n #include \"../../gcc.dg/analyzer/analyzer-decls.h\"\n \n void test_1 (int pc)\ndiff --git a/gcc/testsuite/c-c++-common/analyzer/feasibility-3.c b/gcc/testsuite/c-c++-common/analyzer/feasibility-3.c\nindex 06aed88b5e8..5357615abb8 100644\n--- a/gcc/testsuite/c-c++-common/analyzer/feasibility-3.c\n+++ b/gcc/testsuite/c-c++-common/analyzer/feasibility-3.c\n@@ -2,6 +2,7 @@\n    (GPL v2.0).  */\n \n /* { dg-additional-options \"-Wno-analyzer-too-complex -Wno-analyzer-symbol-too-complex\" } */\n+/* { dg-require-effective-target named_sections } */\n \n /* Types.  */\n \ndiff --git a/gcc/testsuite/c-c++-common/analyzer/infinite-recursion-5.c b/gcc/testsuite/c-c++-common/analyzer/infinite-recursion-5.c\nindex bf206394186..a3d6af080b2 100644\n--- a/gcc/testsuite/c-c++-common/analyzer/infinite-recursion-5.c\n+++ b/gcc/testsuite/c-c++-common/analyzer/infinite-recursion-5.c\n@@ -1,4 +1,5 @@\n /* Adapted from gcc.dg/Winfinite-recursion.c.  */\n+/* { dg-require-effective-target nonlocal_goto } */\n \n #define NORETURN __attribute__ ((noreturn))\n \ndiff --git a/gcc/testsuite/c-c++-common/analyzer/pr102695.c b/gcc/testsuite/c-c++-common/analyzer/pr102695.c\nindex 2ca988254fe..4944a449e8c 100644\n--- a/gcc/testsuite/c-c++-common/analyzer/pr102695.c\n+++ b/gcc/testsuite/c-c++-common/analyzer/pr102695.c\n@@ -1,3 +1,4 @@\n+/* { dg-require-effective-target label_values } */\n extern void* malloc (__SIZE_TYPE__);\n \n const char* write_strchr_literal (int x)\ndiff --git a/gcc/testsuite/c-c++-common/attr-used-5.c b/gcc/testsuite/c-c++-common/attr-used-5.c\nindex 7ba5a455706..7d968433f52 100644\n--- a/gcc/testsuite/c-c++-common/attr-used-5.c\n+++ b/gcc/testsuite/c-c++-common/attr-used-5.c\n@@ -1,6 +1,7 @@\n /* { dg-do compile } */\n /* { dg-skip-if \"non-ELF target\" { *-*-darwin* } } */\n /* { dg-options \"-Wall -Wno-infinite-recursion -O2\" } */\n+/* { dg-require-effective-target named_sections } */\n \n struct dtv_slotinfo_list\n {\ndiff --git a/gcc/testsuite/c-c++-common/attr-used-6.c b/gcc/testsuite/c-c++-common/attr-used-6.c\nindex 00b128205b6..7347e35c7f7 100644\n--- a/gcc/testsuite/c-c++-common/attr-used-6.c\n+++ b/gcc/testsuite/c-c++-common/attr-used-6.c\n@@ -1,5 +1,6 @@\n /* { dg-do compile } */\n /* { dg-skip-if \"non-ELF target\" { *-*-darwin* } } */\n+/* { dg-require-effective-target named_sections } */\n /* { dg-options \"-Wall  -Wno-infinite-recursion -O2\" } */\n \n struct dtv_slotinfo_list\ndiff --git a/gcc/testsuite/c-c++-common/attr-used-7.c b/gcc/testsuite/c-c++-common/attr-used-7.c\nindex 9c9862fcafd..4ab942b7338 100644\n--- a/gcc/testsuite/c-c++-common/attr-used-7.c\n+++ b/gcc/testsuite/c-c++-common/attr-used-7.c\n@@ -1,5 +1,6 @@\n /* { dg-do compile } */\n /* { dg-skip-if \"non-ELF target\" { *-*-darwin* } } */\n+/* { dg-require-effective-target label_values } */\n /* { dg-options \"-Wall -O2\" } */\n \n int __attribute__((used,section(\".data.foo\"))) foo2 = 2;\ndiff --git a/gcc/testsuite/c-c++-common/attr-used-8.c b/gcc/testsuite/c-c++-common/attr-used-8.c\nindex c907ab11641..3fb55a55cbd 100644\n--- a/gcc/testsuite/c-c++-common/attr-used-8.c\n+++ b/gcc/testsuite/c-c++-common/attr-used-8.c\n@@ -1,5 +1,6 @@\n /* { dg-do compile } */\n /* { dg-skip-if \"non-ELF target\" { *-*-darwin* } } */\n+/* { dg-require-effective-target label_values } */\n /* { dg-options \"-Wall -O2\" } */\n \n int __attribute__((section(\".data.foo\"))) foo1 = 1;\ndiff --git a/gcc/testsuite/c-c++-common/attr-used-9.c b/gcc/testsuite/c-c++-common/attr-used-9.c\nindex c4d86c19bc5..ce3a4fbbd2f 100644\n--- a/gcc/testsuite/c-c++-common/attr-used-9.c\n+++ b/gcc/testsuite/c-c++-common/attr-used-9.c\n@@ -1,5 +1,6 @@\n /* { dg-do compile } */\n /* { dg-skip-if \"non-ELF target\" { *-*-darwin* } } */\n+/* { dg-require-effective-target label_values } */\n /* { dg-options \"-Wall -Wno-infinite-recursion -O2\" } */\n \n struct dtv_slotinfo_list\ndiff --git a/gcc/testsuite/g++.dg/charset/attribute1.c b/gcc/testsuite/g++.dg/charset/attribute1.c\nindex 799630030ba..beabf3be210 100644\n--- a/gcc/testsuite/g++.dg/charset/attribute1.c\n+++ b/gcc/testsuite/g++.dg/charset/attribute1.c\n@@ -1,7 +1,8 @@\n /* Test for attribute non-translation.  */\n /* { dg-do compile }\n    { dg-require-iconv \"IBM1047\" }\n-   { dg-final { scan-assembler \"foo\" } } */\n+   { dg-final { scan-assembler \"foo\" } }\n+   { dg-require-effective-target named_sections } */\n int walrus __attribute__ ((section (\".foo\")));\n \n int main (void)\ndiff --git a/gcc/testsuite/gcc.dg/Winfinite-recursion-2.c b/gcc/testsuite/gcc.dg/Winfinite-recursion-2.c\nindex 23483122a6b..3e11f74faf9 100644\n--- a/gcc/testsuite/gcc.dg/Winfinite-recursion-2.c\n+++ b/gcc/testsuite/gcc.dg/Winfinite-recursion-2.c\n@@ -2,7 +2,8 @@\n    Exercise warning with optimization.  Same as -Winfinite-recursion.c\n    plus mutually recursive calls that depend on inlining.\n    { dg-do compile }\n-   { dg-options \"-O2 -Wall -Winfinite-recursion\" } */\n+   { dg-options \"-O2 -Wall -Winfinite-recursion\" }\n+   { dg-require-effective-target nonlocal_goto } */\n \n #define NORETURN __attribute__ ((noreturn))\n \ndiff --git a/gcc/testsuite/gcc.dg/Winfinite-recursion.c b/gcc/testsuite/gcc.dg/Winfinite-recursion.c\nindex e3253567d34..becc4beb363 100644\n--- a/gcc/testsuite/gcc.dg/Winfinite-recursion.c\n+++ b/gcc/testsuite/gcc.dg/Winfinite-recursion.c\n@@ -2,6 +2,7 @@\n    Verify simple cases without optimization.\n    { dg-do compile }\n    { dg-options \"-Wall -Winfinite-recursion\" } */\n+/* { dg-require-effective-target nonlocal_goto } */\n \n #define NORETURN __attribute__ ((noreturn))\n \ndiff --git a/gcc/testsuite/gcc.dg/analyzer/boxed-malloc-1.c b/gcc/testsuite/gcc.dg/analyzer/boxed-malloc-1.c\nindex 949306203c0..c12d5a1f8f3 100644\n--- a/gcc/testsuite/gcc.dg/analyzer/boxed-malloc-1.c\n+++ b/gcc/testsuite/gcc.dg/analyzer/boxed-malloc-1.c\n@@ -1,4 +1,5 @@\n /* Adapted from malloc-1.c, but wrapping the pointers in a struct.  */\n+/* { dg-require-effective-target label_values } */\n \n #include <stdlib.h>\n \ndiff --git a/gcc/testsuite/gcc.dg/analyzer/computed-goto-pr110529.c b/gcc/testsuite/gcc.dg/analyzer/computed-goto-pr110529.c\nindex 988f94a0e81..3571ccf7a6f 100644\n--- a/gcc/testsuite/gcc.dg/analyzer/computed-goto-pr110529.c\n+++ b/gcc/testsuite/gcc.dg/analyzer/computed-goto-pr110529.c\n@@ -1,4 +1,5 @@\n /* C only: reuse of same array for int and label pointers.  */\n+/* { dg-require-effective-target label_values } */\n \n #include \"../../gcc.dg/analyzer/analyzer-decls.h\"\n \ndiff --git a/gcc/testsuite/gcc.dg/analyzer/malloc-1.c b/gcc/testsuite/gcc.dg/analyzer/malloc-1.c\nindex b0882e0bab0..305271109bb 100644\n--- a/gcc/testsuite/gcc.dg/analyzer/malloc-1.c\n+++ b/gcc/testsuite/gcc.dg/analyzer/malloc-1.c\n@@ -1,3 +1,4 @@\n+/* { dg-require-effective-target label_values } */\n #include <stdlib.h>\n \n extern int foo (void);\ndiff --git a/gcc/testsuite/gcc.dg/callgraph-info-1.c b/gcc/testsuite/gcc.dg/callgraph-info-1.c\nindex 853ff9554ee..e59ea258252 100644\n--- a/gcc/testsuite/gcc.dg/callgraph-info-1.c\n+++ b/gcc/testsuite/gcc.dg/callgraph-info-1.c\n@@ -1,5 +1,6 @@\n /* { dg-do compile } */\n /* { dg-options \"-fcallgraph-info\" } */\n+/* { dg-require-effective-target alias } */\n \n void f() {}\n void g() __attribute__ ((__alias__ (\"f\")));\ndiff --git a/gcc/testsuite/gcc.dg/charset/attribute1.c b/gcc/testsuite/gcc.dg/charset/attribute1.c\nindex 799630030ba..beabf3be210 100644\n--- a/gcc/testsuite/gcc.dg/charset/attribute1.c\n+++ b/gcc/testsuite/gcc.dg/charset/attribute1.c\n@@ -1,7 +1,8 @@\n /* Test for attribute non-translation.  */\n /* { dg-do compile }\n    { dg-require-iconv \"IBM1047\" }\n-   { dg-final { scan-assembler \"foo\" } } */\n+   { dg-final { scan-assembler \"foo\" } }\n+   { dg-require-effective-target named_sections } */\n int walrus __attribute__ ((section (\".foo\")));\n \n int main (void)\ndiff --git a/gcc/testsuite/gcc.dg/plugin/diagnostic-test-paths-4.c b/gcc/testsuite/gcc.dg/plugin/diagnostic-test-paths-4.c\nindex 847b6d423e4..906baf1a06d 100644\n--- a/gcc/testsuite/gcc.dg/plugin/diagnostic-test-paths-4.c\n+++ b/gcc/testsuite/gcc.dg/plugin/diagnostic-test-paths-4.c\n@@ -1,6 +1,7 @@\n /* { dg-do compile } */\n /* { dg-options \"-fdiagnostics-path-format=inline-events -fdiagnostics-show-caret -fdiagnostics-show-line-numbers\" } */\n /* { dg-enable-nn-line-numbers \"\" } */\n+/* { dg-require-effective-target signal } */\n \n #include <stdio.h>\n #include <signal.h>\ndiff --git a/gcc/testsuite/gcc.dg/pr101156.c b/gcc/testsuite/gcc.dg/pr101156.c\nindex 5c25bd78a02..0b505ba3a7a 100644\n--- a/gcc/testsuite/gcc.dg/pr101156.c\n+++ b/gcc/testsuite/gcc.dg/pr101156.c\n@@ -1,5 +1,6 @@\n /* { dg-do compile } */\n /* { dg-options \"-fchecking\" } */\n+/* { dg-require-effective-target nonlocal_goto } */\n \n struct S { int i; };\n void baz(struct S *p)\ndiff --git a/gcc/testsuite/gcc.dg/pr106421.c b/gcc/testsuite/gcc.dg/pr106421.c\nindex 73e522afc10..59408b6e339 100644\n--- a/gcc/testsuite/gcc.dg/pr106421.c\n+++ b/gcc/testsuite/gcc.dg/pr106421.c\n@@ -1,5 +1,6 @@\n /* { dg-do compile } */\n /* { dg-options \"-O2\" } */\n+/* { dg-require-effective-target label_values } */\n \n int main(int argc, char **argv)\n {\ndiff --git a/gcc/testsuite/gcc.dg/pr110506.c b/gcc/testsuite/gcc.dg/pr110506.c\nindex 10dbd4e6ce6..7a86027a4bd 100644\n--- a/gcc/testsuite/gcc.dg/pr110506.c\n+++ b/gcc/testsuite/gcc.dg/pr110506.c\n@@ -1,5 +1,6 @@\n /* { dg-do compile } */\n /* { dg-options \"-O2\" } */\n+/* { dg-require-effective-target label_values } */\n \n struct {\n   long *sp;\ndiff --git a/gcc/testsuite/gcc.dg/pr116887.c b/gcc/testsuite/gcc.dg/pr116887.c\nindex e22b944eade..1b227ad58ae 100644\n--- a/gcc/testsuite/gcc.dg/pr116887.c\n+++ b/gcc/testsuite/gcc.dg/pr116887.c\n@@ -1,6 +1,7 @@\n /* { dg-do compile } */\n /* { dg-require-effective-target fpic } */\n /* { dg-options \"-fpic\" } */\n+/* { dg-require-effective-target named_sections } */\n \n struct link_map\n {\ndiff --git a/gcc/testsuite/gcc.dg/pr83100-2.c b/gcc/testsuite/gcc.dg/pr83100-2.c\nindex 6dbe93dcd16..a4b9a628a69 100644\n--- a/gcc/testsuite/gcc.dg/pr83100-2.c\n+++ b/gcc/testsuite/gcc.dg/pr83100-2.c\n@@ -3,6 +3,8 @@\n /* { dg-options \"-O2 -fcommon -fdata-sections\" } */\n /* { dg-additional-sources pr83100-3.c } */\n /* { dg-skip-if \"-fdata-sections not supported\" { hppa*-*-hpux* nvptx-*-* } } */\n+/* { dg-require-effective-target named_sections } */\n+\n \n const int a;\n \ndiff --git a/gcc/testsuite/gcc.dg/pr83100-3.c b/gcc/testsuite/gcc.dg/pr83100-3.c\nindex a28e852695f..b9e516429af 100644\n--- a/gcc/testsuite/gcc.dg/pr83100-3.c\n+++ b/gcc/testsuite/gcc.dg/pr83100-3.c\n@@ -2,5 +2,6 @@\n /* { dg-do compile } */\n /* { dg-options \"-O2 -fcommon -fdata-sections\" } */\n /* { dg-skip-if \"-fdata-sections not supported\" { hppa*-*-hpux* nvptx-*-* } } */\n+/* { dg-require-effective-target named_sections } */\n \n const int a = 7;\ndiff --git a/gcc/testsuite/gcc.dg/pr87793.c b/gcc/testsuite/gcc.dg/pr87793.c\nindex d7673316d39..cd1f12efa81 100644\n--- a/gcc/testsuite/gcc.dg/pr87793.c\n+++ b/gcc/testsuite/gcc.dg/pr87793.c\n@@ -2,6 +2,7 @@\n /* { dg-skip-if \"No section attribute\" { { hppa*-*-hpux* } && { ! lp64 } } } */\n /* { dg-options \"-fpic -Os -g\" } */\n /* { dg-require-effective-target fpic } */\n+/* { dg-require-effective-target named_sections } */\n \n struct fit_loadable_tbl {\n \tint type;\ndiff --git a/gcc/testsuite/gcc.dg/special/gcsec-1.c b/gcc/testsuite/gcc.dg/special/gcsec-1.c\nindex ef1434fbe8b..abd525f751c 100644\n--- a/gcc/testsuite/gcc.dg/special/gcsec-1.c\n+++ b/gcc/testsuite/gcc.dg/special/gcsec-1.c\n@@ -5,6 +5,7 @@\n \n /* { dg-options \"-ffunction-sections -fdata-sections -Wl,--gc-sections\" } */\n /* { dg-options \"-ffunction-sections -fdata-sections -Wl,--gc-sections -static\" { target static } } */\n+/* { dg-require-effective-target named_sections } */\n \n #include <stdlib.h>\n \ndiff --git a/gcc/testsuite/gcc.dg/torture/pr108076.c b/gcc/testsuite/gcc.dg/torture/pr108076.c\nindex ebe2e51bee0..a76ac4cd22f 100644\n--- a/gcc/testsuite/gcc.dg/torture/pr108076.c\n+++ b/gcc/testsuite/gcc.dg/torture/pr108076.c\n@@ -1,4 +1,5 @@\n /* { dg-do link } */\n+/* { dg-require-effective-target label_values } */\n \n static void *j;\n int v, g;\n",
    "prefixes": [
        "v3",
        "4/4"
    ]
}