get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2217458,
    "url": "http://patchwork.ozlabs.org/api/patches/2217458/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/gcc/patch/orzf3q7w9r.fsf@lxoliva.fsfla.org/",
    "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": "<orzf3q7w9r.fsf@lxoliva.fsfla.org>",
    "list_archive_url": null,
    "date": "2026-03-29T10:41:36",
    "name": "testsuite: select -mfpmath=sse for pr32964.c on x86",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "f366ee1834f595d68741e4edc4c040e2f79082ea",
    "submitter": {
        "id": 74937,
        "url": "http://patchwork.ozlabs.org/api/people/74937/?format=api",
        "name": "Alexandre Oliva",
        "email": "oliva@adacore.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/gcc/patch/orzf3q7w9r.fsf@lxoliva.fsfla.org/mbox/",
    "series": [
        {
            "id": 497913,
            "url": "http://patchwork.ozlabs.org/api/series/497913/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/gcc/list/?series=497913",
            "date": "2026-03-29T10:41:36",
            "name": "testsuite: select -mfpmath=sse for pr32964.c on x86",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/497913/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2217458/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2217458/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 secure) header.d=adacore.com header.i=@adacore.com header.a=rsa-sha256\n header.s=google header.b=aLGC8Uu6;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=temperror (SPF Temporary Error: DNS Timeout) 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 secure) header.d=adacore.com header.i=@adacore.com header.a=rsa-sha256\n header.s=google header.b=aLGC8Uu6",
            "sourceware.org; dmarc=pass (p=quarantine dis=none)\n header.from=adacore.com",
            "sourceware.org; spf=pass smtp.mailfrom=adacore.com",
            "server2.sourceware.org;\n arc=none smtp.remote-ip=74.125.82.178"
        ],
        "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 4fk9w90dszz1y1P\n\tfor <incoming@patchwork.ozlabs.org>; Sun, 29 Mar 2026 21:43:17 +1100 (AEDT)",
            "from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id 021864BA9002\n\tfor <incoming@patchwork.ozlabs.org>; Sun, 29 Mar 2026 10:43:13 +0000 (GMT)",
            "from mail-dy1-f178.google.com (mail-dy1-f178.google.com\n [74.125.82.178])\n by sourceware.org (Postfix) with ESMTPS id F12A94BA9003\n for <gcc-patches@gcc.gnu.org>; Sun, 29 Mar 2026 10:41:47 +0000 (GMT)",
            "by mail-dy1-f178.google.com with SMTP id\n 5a478bee46e88-2c54c68db4dso722186eec.0\n for <gcc-patches@gcc.gnu.org>; Sun, 29 Mar 2026 03:41:47 -0700 (PDT)",
            "from free.home ([2804:14c:4d1:41a6::1455])\n by smtp.gmail.com with ESMTPSA id\n 5a478bee46e88-2c3c79722e0sm4560238eec.31.2026.03.29.03.41.46\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Sun, 29 Mar 2026 03:41:46 -0700 (PDT)",
            "from livre (livre.home [172.31.160.2])\n by free.home (8.15.2/8.15.2) with ESMTPS id 62TAfaLc022181\n (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT);\n Sun, 29 Mar 2026 07:41:36 -0300"
        ],
        "DKIM-Filter": [
            "OpenDKIM Filter v2.11.0 sourceware.org 021864BA9002",
            "OpenDKIM Filter v2.11.0 sourceware.org F12A94BA9003"
        ],
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 sourceware.org F12A94BA9003",
        "ARC-Filter": "OpenARC Filter v1.0.0 sourceware.org F12A94BA9003",
        "ARC-Seal": "i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1774780908; cv=none;\n b=a54TGVgflXUDXDamnxDJIlZfLrSlek+VEirFq0pgPFPmSv+i+s3dUv4SmTEAY70wfOgeSsWxgB6bOy9PxMRD/+jHw7DhIWU7HXd/HVa/xCYB/JJFtLrbTSQ5gpxZlNW6xQiRqsYeYoEHesPBm2Cx5O8ASzSmwX/x3F1pmKsMZfE=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1774780908; c=relaxed/simple;\n bh=V277hHVqwi0q/BSGHYZ0AcYWz2Tm60mGFlwVXgWRbuc=;\n h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version;\n b=UakqiUADfVaugzVDYrkGKOGrs7D7c1Of2Bce2X6vJ8RadWPBZLQ8+VNKLo2HzU6oSENsHjnuFy6ZUB+liZTqSwByAFsT/LinKKZx4IX+aW6qwdh3y2XQntgsfhaIygsEtBiTDEEIiy9lFwsHAE7SQlgX5vD8DAZezw3XWZsCyao=",
        "ARC-Authentication-Results": "i=1; server2.sourceware.org",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=adacore.com; s=google; t=1774780907; x=1775385707; darn=gcc.gnu.org;\n h=mime-version:user-agent:message-id:date:organization:subject:cc:to\n :from:from:to:cc:subject:date:message-id:reply-to;\n bh=1SNaKX7+igUw6HdsTtbRHt+ItaoB+m+4qM3hgeyvh78=;\n b=aLGC8Uu6CNJsOD7X1v9CmtS95u+qdy05fTFrNl3nu8FR+zF+DRGFbCHeKnTOPXHu69\n Ewd13hCFgmDvCCyn1xZIL+de60+OtGQqmRBed0aNvXwnjY4w0H1nhryiL5lYa5JrddiT\n GOh/fY+H3EhpQDKkDFYq24TzxpbpJlkASuPOeYvmuK42W2UxtPg8UYvPPsoUATolh4bi\n O1yQZvLDHOST9jq/Ej9WowGp+s4gNmh+1lhjxEPP88UbjAcue3suLyBwQmvez7hElILd\n bkEJfkOX/K82RoXdwQsZakApIYymsQmncXpUDDC+qnasoIrK+u7wYk2S/IDgafLduEe0\n FtQA==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1774780907; x=1775385707;\n h=mime-version:user-agent:message-id:date:organization:subject:cc:to\n :from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id\n :reply-to;\n bh=1SNaKX7+igUw6HdsTtbRHt+ItaoB+m+4qM3hgeyvh78=;\n b=qjTuPLbXx4OW1Y/PGSLiFLIaRwanCY1pcx5XTe25/EM5I0XNTtS0y02TJQ61wPSJb7\n TH0ghNitJY1ftDHAgBf3dna1wj/mDWfCtVrn3FAnjgoqPGH5LSfm74vXzjg5iHgJA9LT\n 4lu4Xfs2lRD4j1jsbzlqaBoJg1B0kyuhvsY8LDkTx/LpFDPIxYtRr9pceswmk0HsreN9\n oPiXyCwx5d0JZE/erv6QvOz+b74ks1hBjnZ9c/cbAZgrfm/IAo+3Qs92oz032Pbsf/so\n lmvPUtqwrgOoPMB/SpM0rtU/z9C8giyHf+h0TdkJ3Y5GiW5G4Tl6D5KicryChk7HMHiH\n jFAw==",
        "X-Gm-Message-State": "AOJu0YzI7ZHiRxUZSkJF/WmkHatyyy3qUFyi7A4v2kfpRzI6Nm0lZgpb\n IDlfABNoXgIjF01M3+WbjlaNAxw8vd+ehO0sFl2PmBgGDWyUHIljAhnNhShL7F4AoE2GlIFwPwG\n TRd0=",
        "X-Gm-Gg": "ATEYQzxp1T+c6JNmKciPVDqDTZ6ZUsVcx8Z7oUgUQChVxUZ/foaeGx8g+dPjsjERcAt\n KBIKStlxIFG6qorVx7ljVvW8rGCxeP/91wioS8y3GFWdAV0DRgSOv/LIKyQzldPjqSGn48HN0kT\n VPl21xPCtyaTg8rbTrQUDosskyEkEw9vd2vItVcxcQtdMLhd8HOenVHIpZWWOrNlrP1E87k74Ts\n RB+e+BPNjopLUF/wL1b+owNiq/Gay2p/nL4oqkAjI2ztXxrwTHcfU6HtG58Lz1CuUgjmufINh2l\n 84CglULtabaWMkRrEmCWa2aBkOuPt2Cs9mYUSj/LRJiKpiU3TLqv+R4u+oigmA5aAciTOnIH7Cg\n pbZlOdM3arYmaQYEWtmYiEs4491F9hso4R51fjVvX7Z1F0viaVN79WHvQHGJgm7Ksq+7rhL2VAs\n Y=",
        "X-Received": "by 2002:a05:7301:129b:b0:2c1:5b23:1752 with SMTP id\n 5a478bee46e88-2c185f5a3c7mr4634867eec.23.1774780906899;\n Sun, 29 Mar 2026 03:41:46 -0700 (PDT)",
        "From": "Alexandre Oliva <oliva@adacore.com>",
        "To": "gcc-patches@gcc.gnu.org",
        "Cc": "Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>, Mike Stump\n <mikestump@comcast.net>, Jan Hubicka <hubicka@ucw.cz>,\n Uros Bizjak <ubizjak@gmail.com>",
        "Subject": "[PATCH] testsuite: select -mfpmath=sse for pr32964.c on x86",
        "Organization": "Free thinker, does not speak for AdaCore",
        "Date": "Sun, 29 Mar 2026 07:41:36 -0300",
        "Message-ID": "<orzf3q7w9r.fsf@lxoliva.fsfla.org>",
        "User-Agent": "Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain",
        "X-Scanned-By": "MIMEDefang 2.84",
        "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": "When using the 387 FPU, we don't perform the expected optimization of\nunions to floats.  Setting -fexcess-precision=standard. doesn't fix it\nfor x86, but selecting -mfpmath=sse and forcing sse enabled does.\n\nRegstrapped on x86_64-linux-gnu.  Also tested with ppc-vx7r2,\nppc64-vx7r2, arm-vx7r2, aarch64-vx7r2, x86_64-vx7r2, and x86-vx7r2.  Ok\nto install?\n\n\nfor  gcc/testsuite/ChangeLog\n\n\t* gcc.dg/tree-ssa/pr32964.c: Select the SSE FPU on x86.\n---\n gcc/testsuite/gcc.dg/tree-ssa/pr32964.c |    3 +++\n 1 file changed, 3 insertions(+)",
    "diff": "diff --git a/gcc/testsuite/gcc.dg/tree-ssa/pr32964.c b/gcc/testsuite/gcc.dg/tree-ssa/pr32964.c\nindex 3d587119de90f..1c3baa62b98cd 100644\n--- a/gcc/testsuite/gcc.dg/tree-ssa/pr32964.c\n+++ b/gcc/testsuite/gcc.dg/tree-ssa/pr32964.c\n@@ -1,5 +1,8 @@\n /* { dg-do compile } */\n /* { dg-options \"-O1 -fdump-tree-optimized\" } */\n+/* We don't get the expected optimization any more when x87's excess precision\n+   is available.  */\n+/* { dg-additional-options \"-msse -mfpmath=sse\" { target x86 } } */\n \n union A\n {\n",
    "prefixes": []
}