get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2231698,
    "url": "http://patchwork.ozlabs.org/api/1.1/patches/2231698/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/gcc/patch/afRK9DDLUmZs1uZO@tucnak/",
    "project": {
        "id": 17,
        "url": "http://patchwork.ozlabs.org/api/1.1/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
    },
    "msgid": "<afRK9DDLUmZs1uZO@tucnak>",
    "date": "2026-05-01T06:40:52",
    "name": "[committed] tree-vect-loop: Remove useless && 1.",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "aadc45afb50921742b03509053dba865f74b7f0c",
    "submitter": {
        "id": 671,
        "url": "http://patchwork.ozlabs.org/api/1.1/people/671/?format=api",
        "name": "Jakub Jelinek",
        "email": "jakub@redhat.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/gcc/patch/afRK9DDLUmZs1uZO@tucnak/mbox/",
    "series": [
        {
            "id": 502427,
            "url": "http://patchwork.ozlabs.org/api/1.1/series/502427/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/gcc/list/?series=502427",
            "date": "2026-05-01T06:40:52",
            "name": "[committed] tree-vect-loop: Remove useless && 1.",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/502427/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2231698/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2231698/checks/",
    "tags": {},
    "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=FJkcXw3H;\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 (1024-bit key,\n unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256\n header.s=mimecast20190719 header.b=FJkcXw3H",
            "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.129.124"
        ],
        "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 4g6Lzf3XThz1y04\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 01 May 2026 16:41:31 +1000 (AEST)",
            "from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id B7C4B43B5530\n\tfor <incoming@patchwork.ozlabs.org>; Fri,  1 May 2026 06:41:27 +0000 (GMT)",
            "from us-smtp-delivery-124.mimecast.com\n (us-smtp-delivery-124.mimecast.com [170.10.129.124])\n by sourceware.org (Postfix) with ESMTP id C94AC4A9BE76\n for <gcc-patches@gcc.gnu.org>; Fri,  1 May 2026 06:40:59 +0000 (GMT)",
            "from mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com\n (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by\n relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3,\n cipher=TLS_AES_256_GCM_SHA384) id us-mta-551-PGEfOa1sPHKPpuzCMSXLiA-1; Fri,\n 01 May 2026 02:40:58 -0400",
            "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-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS\n id 1B3901956088; Fri,  1 May 2026 06:40:57 +0000 (UTC)",
            "from tucnak.zalov.cz (unknown [10.44.34.21])\n by mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with\n ESMTPS\n id 799441955D84; Fri,  1 May 2026 06:40:56 +0000 (UTC)",
            "from tucnak.zalov.cz (localhost [127.0.0.1])\n by tucnak.zalov.cz (8.18.1/8.18.1) with ESMTPS id 6416ercA2663816\n (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT);\n Fri, 1 May 2026 08:40:53 +0200",
            "(from jakub@localhost)\n by tucnak.zalov.cz (8.18.1/8.18.1/Submit) id 6416erX52663815;\n Fri, 1 May 2026 08:40:53 +0200"
        ],
        "DKIM-Filter": [
            "OpenDKIM Filter v2.11.0 sourceware.org B7C4B43B5530",
            "OpenDKIM Filter v2.11.0 sourceware.org C94AC4A9BE76"
        ],
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 sourceware.org C94AC4A9BE76",
        "ARC-Filter": "OpenARC Filter v1.0.0 sourceware.org C94AC4A9BE76",
        "ARC-Seal": "i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1777617659; cv=none;\n b=gv64Zf3JENUmXxyE6z0lbUX4U0DegodJ12ngCNZk4W34SqSTUZ6zigwsBRuvBYVLPlaA5yI+OjyorX0GciLJFKzcODJ18Lp2StdVdhFUViZZv+9N8JGbueKDZBl5HyK5m6zFNXKOQXWUBM4MaL5KF/4XvekNKHDEBgBicJDMZkY=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1777617659; c=relaxed/simple;\n bh=eKQqoYanancd1tAbUp5qXMBlsJaM1EyCz0E/KqDCuhs=;\n h=DKIM-Signature:Date:From:To:Subject:Message-ID:MIME-Version;\n b=OE7a55BQHiCVyE0Ylt33nP2Go0EfomS15z8IelOYz9X+SUNioAGE0Wdg96QeEd7JVz7Iz/ZklT2RQII1OjwxyRMN1AgRvjcAucXrl/5dQgezNu27WoQMBc/9YwnCPAQ+ecrefJzn1JJfMcSIwmeloYiQVUcs1QCjAF7WQHszLSk=",
        "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=1777617659;\n h=from:from:reply-to:reply-to:subject:subject:date:date:\n message-id:message-id:to:to:cc:cc:mime-version:mime-version:\n content-type:content-type; bh=IAITLPv2hMWh5rHvy6IHBrBT6uSSVDX7D+LAu6W19Js=;\n b=FJkcXw3HZ4daoXV/Lxnrz+KedzLVlMEagxUKtCMICm0MjmZwzCfEocasYQkPyA85Lzkvs+\n fDsRtRvf8d6gRBKCc1+w18XiSnpvAptrmaP5UEjq+vMcSJMqS98v/kab1bgOjUPJhucXTC\n fLYMCAyeREjCcM6lDXPKDhI5/vZ9rPY=",
        "X-MC-Unique": "PGEfOa1sPHKPpuzCMSXLiA-1",
        "X-Mimecast-MFC-AGG-ID": "PGEfOa1sPHKPpuzCMSXLiA_1777617657",
        "Date": "Fri, 1 May 2026 08:40:52 +0200",
        "From": "Jakub Jelinek <jakub@redhat.com>",
        "To": "gcc-patches@gcc.gnu.org",
        "Cc": "Andre Vieira <andre.simoesdiasvieira@arm.com>",
        "Subject": "[committed] tree-vect-loop: Remove useless && 1.",
        "Message-ID": "<afRK9DDLUmZs1uZO@tucnak>",
        "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": "8jHqW6o52KcjXrtFFWIrhTJeMQW6V0TajLw2ScyyLc4_1777617657",
        "X-Mimecast-Originator": "redhat.com",
        "Content-Type": "text/plain; charset=us-ascii",
        "Content-Disposition": "inline",
        "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>",
        "Reply-To": "Jakub Jelinek <jakub@redhat.com>",
        "Errors-To": "gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org"
    },
    "content": "Hi!\n\nr16-476 has replaced && slp_node with && 1 and it remained that way\nuntil now.  This patch just removes that.\n\nBootstrapped/regtested on x86_64-linux and i686-linux, committed to trunk\nas obvious.\n\n2026-05-01  Jakub Jelinek  <jakub@redhat.com>\n\n\t* tree-vect-loop.cc (vectorizable_reduction): Remove pointless\n\t&& 1.\n\n\n\tJakub",
    "diff": "--- gcc/tree-vect-loop.cc.jj\t2026-04-29 07:45:27.964266384 +0200\n+++ gcc/tree-vect-loop.cc\t2026-04-30 10:17:10.132810617 +0200\n@@ -7476,7 +7476,6 @@ vectorizable_reduction (loop_vec_info lo\n        || reduction_type == INTEGER_INDUC_COND_REDUCTION\n        || reduction_type == CONST_COND_REDUCTION\n        || reduction_type == EXTRACT_LAST_REDUCTION)\n-      && 1\n       && ncopies > 1)\n     {\n       if (dump_enabled_p ())\n",
    "prefixes": [
        "committed"
    ]
}