Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.1/patches/2230357/?format=api
{ "id": 2230357, "url": "http://patchwork.ozlabs.org/api/1.1/patches/2230357/?format=api", "web_url": "http://patchwork.ozlabs.org/project/gcc/patch/27ef7950-79c2-4d7f-9d1f-aa357d758197@redhat.com/", "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": "<27ef7950-79c2-4d7f-9d1f-aa357d758197@redhat.com>", "date": "2026-04-29T16:11:43", "name": "[pushed,IRA] : Use correct allocno when building conflicts", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "7ffefa70a1f58bba1c81e6773923c1c1353169de", "submitter": { "id": 4455, "url": "http://patchwork.ozlabs.org/api/1.1/people/4455/?format=api", "name": "Vladimir Makarov", "email": "vmakarov@redhat.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/gcc/patch/27ef7950-79c2-4d7f-9d1f-aa357d758197@redhat.com/mbox/", "series": [ { "id": 502105, "url": "http://patchwork.ozlabs.org/api/1.1/series/502105/?format=api", "web_url": "http://patchwork.ozlabs.org/project/gcc/list/?series=502105", "date": "2026-04-29T16:11:43", "name": "[pushed,IRA] : Use correct allocno when building conflicts", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/502105/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2230357/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2230357/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=RbezLoI2;\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=RbezLoI2", "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 4g5MlX5B0vz1yHZ\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 30 Apr 2026 02:12:40 +1000 (AEST)", "from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id DC69A4BB3BE6\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 29 Apr 2026 16:12:33 +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 5C0E14BB8F5F\n for <gcc-patches@gcc.gnu.org>; Wed, 29 Apr 2026 16:11:49 +0000 (GMT)", "from mail-qv1-f70.google.com (mail-qv1-f70.google.com\n [209.85.219.70]) by relay.mimecast.com with ESMTP with STARTTLS\n (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id\n us-mta-641-4BcccxYpN3KQzEuEaAE-Ow-1; Wed, 29 Apr 2026 12:11:46 -0400", "by mail-qv1-f70.google.com with SMTP id\n 6a1803df08f44-8acdd800537so6040906d6.1\n for <gcc-patches@gcc.gnu.org>; Wed, 29 Apr 2026 09:11:46 -0700 (PDT)", "from [192.168.0.111] (192-0-141-76.cpe.teksavvy.com. [192.0.141.76])\n by smtp.gmail.com with ESMTPSA id\n 6a1803df08f44-8b3ef7ef7bcsm22178056d6.28.2026.04.29.09.11.44\n for <gcc-patches@gcc.gnu.org>\n (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);\n Wed, 29 Apr 2026 09:11:44 -0700 (PDT)" ], "DKIM-Filter": [ "OpenDKIM Filter v2.11.0 sourceware.org DC69A4BB3BE6", "OpenDKIM Filter v2.11.0 sourceware.org 5C0E14BB8F5F" ], "DMARC-Filter": "OpenDMARC Filter v1.4.2 sourceware.org 5C0E14BB8F5F", "ARC-Filter": "OpenARC Filter v1.0.0 sourceware.org 5C0E14BB8F5F", "ARC-Seal": "i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1777479109; cv=none;\n b=dK91W1kxfvgyMQHedRxQbWu5ig7nNj82s+im/vTEdJMT9KDHb8X0F7fcQJ/+ultTFg6t1/Wttz40Dx5RgXXNch94efnLPh4fmRKcvayxi+W0N/HGB1TApYKkhizVpPOpcVHMN6woBoQHnp/9aiyi05CDO5jQrSaHHCw9nErIz2g=", "ARC-Message-Signature": "i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1777479109; c=relaxed/simple;\n bh=Cx/Y51eRWyx+jXVbEWwjERDF2J+Qe1tk4bsK9WbXsHc=;\n h=DKIM-Signature:Message-ID:Date:MIME-Version:From:Subject:To;\n b=ZsrxpeTBys8KlTmgjMyf8ex+AhCclaSMl3fKlJIwX8fVFzMcqdTi7NoKhpF/X8FJS9Cz3c2WrDHGndW2WarP5H6geptFX0MDN2/5//6uSXzKTVcM2xeRMDcPWs3mbHTLGn/iMWFRSt+JfjnwtsOKuWRX3GNHehQWXYoHbnDHQp0=", "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=1777479109;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:mime-version:mime-version:content-type:content-type;\n bh=pAiW4lw/Q0F1lFItERsKgk0szH8TD6misEoWpitTfMI=;\n b=RbezLoI2QjHWL02bj+OYMRBrOs2Qt9AaTv7GBGV2bVtWQIdM7GZBhPJepBACfTM/dcm34P\n 4u5WKKljkT6BF4iMlcSrLvW2quanLXMJGvJ8bHoR/Gtxj0p34XIC5BcdEt8oaMxhBpCQL3\n tYzWAFi02Jw6ViPNbPZTIHRUTswIJXo=", "X-MC-Unique": "4BcccxYpN3KQzEuEaAE-Ow-1", "X-Mimecast-MFC-AGG-ID": "4BcccxYpN3KQzEuEaAE-Ow_1777479105", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1777479105; x=1778083905;\n h=to:subject:from:content-language:user-agent:mime-version:date\n :message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date\n :message-id:reply-to;\n bh=+JktZfpVJUCNjXgdn6qjPrLkjla/4nHZcdBbxI1D+Qc=;\n b=ASm0x5ATOH2T4m6B42OX/dmu4V9NNEBqdctPFhCKoh0BEXuTUwlH7YJ45WqdbRwsHg\n z3iz96zR2jxKs4lU2RoTj3ZRtV1JQyIQn/SyNs6VfdDw/tITwTV4s8jvPDZte2JeY1Tl\n nCt32WnHHsCVh7jGKuoCIXqtbkvaTyPp+k9V8tCYOBM1QX4MUP7jJtj3Cnbn7/kHuRKE\n Y9ktGe4dw71OeiYDaC/v0ZdRy6j088FalW0KM9vnaTo9qXFP4EUeyZEBWNhg5yZN6F1l\n eSFRw5qSbXIyIRrlcy5seeUkAZts4WZUXUTLNwcefnIoyD40MDZ7oWo1C7ifMemhUY1J\n eWFw==", "X-Gm-Message-State": "AOJu0Yx1i3lx1A9acV7AoLpEo1EfgOQTPHp5+tmNbvaij5vdL3gSwKqG\n gu2vdqDCXfP3/gKWdpj2ZlZzenLqFgd7IwjGEqPYqdO+buH1sI3LP0hrbVNKbXP2EUVGyY1Yfgs\n g4ezyfYQMcXMoruq2a8/Nne5ux0TqjfqvcUbcMAi0uoBUZ8E3cD0uzCCMtfektt9cjzFamzshl9\n iNS6e+Q2DJMpdQiEWUcjF5ln4azzl8SqDqBsjYpa9hC+c=", "X-Gm-Gg": "AeBDieuxFbXTav/1LAeosoTJO8GR1XPQHCC6A3JYta5kxQWKw1aFJ+M8H2srv693rao\n yN1lBcf9Ss9py5e6cnJnCBOi0/8CPc2topdZvHdOdkJxm8r6IhYj1XaLOmiZsG4B4+aQnCL7WYt\n F6WRwtu/limYu1U73OlmpYvw/z1alO1NA/jhrC14SDctId/Pvx4RMZ2qTY14Oma9JX8ur9nh8GZ\n w8uAanUOlWojnzItg7SnhLKDtV4AFMK4vmCRoz9GGMbdxjA1TSbXsL2vYsWaUEu6gghIo3CG/FY\n 1TRcLvjZIdhEK8iNq+4taFkGVGqL6sIrSqM3/o0BOkpa3anpWEi7ylnlYWonqBY6gpIK4gJi2cW\n pWRuCV02QT9w+31pCrinAqqUyfm/yqq6cVK7dxZuFM77MQTeeDnF+Tk+GsLQSR9FoNg==", "X-Received": [ "by 2002:a05:6214:4488:b0:8b3:f6ae:b01e with SMTP id\n 6a1803df08f44-8b3f6aeb33fmr22916226d6.16.1777479105581;\n Wed, 29 Apr 2026 09:11:45 -0700 (PDT)", "by 2002:a05:6214:4488:b0:8b3:f6ae:b01e with SMTP id\n 6a1803df08f44-8b3f6aeb33fmr22915406d6.16.1777479104934;\n Wed, 29 Apr 2026 09:11:44 -0700 (PDT)" ], "Message-ID": "<27ef7950-79c2-4d7f-9d1f-aa357d758197@redhat.com>", "Date": "Wed, 29 Apr 2026 12:11:43 -0400", "MIME-Version": "1.0", "User-Agent": "Mozilla Thunderbird", "From": "Vladimir Makarov <vmakarov@redhat.com>", "Subject": "[pushed][IRA]: Use correct allocno when building conflicts", "To": "\"gcc-patches@gcc.gnu.org\" <gcc-patches@gcc.gnu.org>", "X-Mimecast-Spam-Score": "0", "X-Mimecast-MFC-PROC-ID": "htAMfm4py6D5ocBwXUi0HjoHWdR0jnOtamXUL2op9Zc_1777479105", "X-Mimecast-Originator": "redhat.com", "Content-Type": "multipart/mixed; boundary=\"------------H00Cg4wRXGKUqYQYyGZ3at1V\"", "Content-Language": "en-US", "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": "It a fix for wrong conflict allocno use which results in useless assert \ncheck.\n\nThe patch was successfully bootstrapped and tested on x86-64, aarch64, \nand ppc64le.", "diff": "commit c58b99f3f1983add1ca6f11666d8dfcba90513b4\nAuthor: Vladimir N. Makarov <vmakarov@redhat.com>\nDate: Wed Apr 29 08:15:49 2026 -0400\n\n [IRA]: Use correct allocno when building conflicts\n \n When conflicts are built in IRA a wrong conflict allocno is taken. The\n allocno is used only in assertion which becomes always true and checks\n nothing. The patch fixes this.\n \n gcc/ChangeLog:\n \n * ira-conflicts.cc (build_object_conflicts): Use the right\n conflicting allocno.\n\ndiff --git a/gcc/ira-conflicts.cc b/gcc/ira-conflicts.cc\nindex 0168b255ae8..c43b1e72ccc 100644\n--- a/gcc/ira-conflicts.cc\n+++ b/gcc/ira-conflicts.cc\n@@ -583,7 +583,7 @@ build_object_conflicts (ira_object_t obj)\n \t\t\t OBJECT_MIN (obj), OBJECT_MAX (obj), i, asi)\n {\n ira_object_t another_obj = ira_object_id_map[i];\n- ira_allocno_t another_a = OBJECT_ALLOCNO (obj);\n+ ira_allocno_t another_a = OBJECT_ALLOCNO (another_obj);\n \n ira_assert (ira_reg_classes_intersect_p\n \t\t [ALLOCNO_CLASS (a)][ALLOCNO_CLASS (another_a)]);\n", "prefixes": [ "pushed", "IRA" ] }