get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2227599,
    "url": "http://patchwork.ozlabs.org/api/patches/2227599/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/gcc/patch/20260424022231.2644077-1-andrew.pinski@oss.qualcomm.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": "<20260424022231.2644077-1-andrew.pinski@oss.qualcomm.com>",
    "list_archive_url": null,
    "date": "2026-04-24T02:22:31",
    "name": "[to-be-committed] Do not use DEFAULT_CFLAGS in ieee.exp [PR125003]",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "7ed7b3c5784ec36367145f6c5b4496d0b7e46e7b",
    "submitter": {
        "id": 91428,
        "url": "http://patchwork.ozlabs.org/api/people/91428/?format=api",
        "name": "Andrew Pinski",
        "email": "andrew.pinski@oss.qualcomm.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/gcc/patch/20260424022231.2644077-1-andrew.pinski@oss.qualcomm.com/mbox/",
    "series": [
        {
            "id": 501278,
            "url": "http://patchwork.ozlabs.org/api/series/501278/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/gcc/list/?series=501278",
            "date": "2026-04-24T02:22:31",
            "name": "[to-be-committed] Do not use DEFAULT_CFLAGS in ieee.exp [PR125003]",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/501278/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2227599/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2227599/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=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256\n header.s=qcppdkim1 header.b=HOtBnm61;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com\n header.a=rsa-sha256 header.s=google header.b=AGzmU79W;\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=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256\n header.s=qcppdkim1 header.b=HOtBnm61;\n\tdkim=pass (2048-bit key,\n unprotected) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com\n header.a=rsa-sha256 header.s=google header.b=AGzmU79W",
            "sourceware.org; dmarc=none (p=none dis=none)\n header.from=oss.qualcomm.com",
            "sourceware.org;\n spf=pass smtp.mailfrom=oss.qualcomm.com",
            "server2.sourceware.org;\n arc=none smtp.remote-ip=205.220.180.131"
        ],
        "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 4g1xZn51pLz1y2d\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 24 Apr 2026 12:23:12 +1000 (AEST)",
            "from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id 329914B99F7C\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 24 Apr 2026 02:23:10 +0000 (GMT)",
            "from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com\n [205.220.180.131])\n by sourceware.org (Postfix) with ESMTPS id 6F6B54B99F67\n for <gcc-patches@gcc.gnu.org>; Fri, 24 Apr 2026 02:22:41 +0000 (GMT)",
            "from pps.filterd (m0279871.ppops.net [127.0.0.1])\n by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id\n 63NHkOxR756614\n for <gcc-patches@gcc.gnu.org>; Fri, 24 Apr 2026 02:22:40 GMT",
            "from mail-pf1-f200.google.com (mail-pf1-f200.google.com\n [209.85.210.200])\n by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4dqr4bhrr1-1\n (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT)\n for <gcc-patches@gcc.gnu.org>; Fri, 24 Apr 2026 02:22:40 +0000 (GMT)",
            "by mail-pf1-f200.google.com with SMTP id\n d2e1a72fcca58-82f220f1dabso5450723b3a.1\n for <gcc-patches@gcc.gnu.org>; Thu, 23 Apr 2026 19:22:40 -0700 (PDT)",
            "from xeond2.wrightpinski.org ([98.97.36.83])\n by smtp.gmail.com with ESMTPSA id\n d2e1a72fcca58-82f8e9cbb1dsm23649111b3a.14.2026.04.23.19.22.38\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Thu, 23 Apr 2026 19:22:38 -0700 (PDT)"
        ],
        "DKIM-Filter": [
            "OpenDKIM Filter v2.11.0 sourceware.org 329914B99F7C",
            "OpenDKIM Filter v2.11.0 sourceware.org 6F6B54B99F67"
        ],
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 sourceware.org 6F6B54B99F67",
        "ARC-Filter": "OpenARC Filter v1.0.0 sourceware.org 6F6B54B99F67",
        "ARC-Seal": "i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1776997361; cv=none;\n b=Wdou2IGuS9E8p268xorPNC8JX5ieCKd4uYpBNTyZPubLohJ2G528hgkeASDyv09Qa8cPb77aeP12Ah2o0dV5bBFKT3wQVOPXdSpXFpWiMXM0usx7q7aRnBFgOUk2HyoYnzJCPmA2EIva2tINX5o9p9gcnr0AA/IE24vm3Tzco0E=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1776997361; c=relaxed/simple;\n bh=OssZcfnu/V5CxjXYeoiNm/8SGuPrzxhkztfjapzmk5w=;\n h=DKIM-Signature:DKIM-Signature:From:To:Subject:Date:Message-ID:\n MIME-Version;\n b=KTv4gbkfm92SnSgABcRWekUrV4azTZJV0L+ldIVeLGuLSQth+dmLUunDIW0nVFuD+TA63J5UMTixhO6rqgactvotgNxnay3qa78j2BqWsf3Izub3vfwTP9XQJmhlGh+iYnfyFG36CzcJcOT4w21rKGupMWTe8JaPKmzuCJyyLe8=",
        "ARC-Authentication-Results": "i=1; server2.sourceware.org",
        "DKIM-Signature": [
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h=\n cc:content-transfer-encoding:date:from:message-id:mime-version\n :subject:to; s=qcppdkim1; bh=h6Q6LZm6t3a3obTMnYlRfvjs5AoE8Rw9crQ\n bSkER7Qw=; b=HOtBnm617T9Su6HZKXlYbzdz+tVbJfSJrZKYxZVtR4gbeYqd3HI\n pp4cfhDqYMJa86en8EskNiIYi4R95tt82IOb85Ta86whbGPIoPWQu3NGry4x8YMs\n WHbrUCr1LwB/BXyXzKDuTYndKK3Ia4gBFaXNsGJyqFzky/bv+kFTuPm6bUKZD/1b\n 7Y3mp2Aac2EET5yJnGATJZbTFQQXuU/DjyOXw++2/t6YEO3uOl58/SujSiymws1E\n Gpj3Mz4jYppni1bOzfM0ArTrUIuofvv14H7nuCQlOQgXoZahrE4PhyyC23tYcZnt\n QQ4tErT5PRuq9v7q86DBehQmTCEbw9rp7xQ==",
            "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=oss.qualcomm.com; s=google; t=1776997359; x=1777602159; darn=gcc.gnu.org;\n h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n :to:from:from:to:cc:subject:date:message-id:reply-to;\n bh=h6Q6LZm6t3a3obTMnYlRfvjs5AoE8Rw9crQbSkER7Qw=;\n b=AGzmU79WdOX92VOnDJwTn0yp1bA1kb/HCj746Jd59vB9EQI3AAfUyU7yN6nb4dH77Y\n aKCkRgeJva5Vq+gPAdXCVRFjhag0HfBDldXevPfglbZnuOW7X5JuGrVMYcQX/IBy8+EA\n rFSs03kB17hXbeHMzcyCHIgE0F17BEQRofqTP2b0d+7bgN2/UlejklrjtHWlPDZLVKqr\n cwyrOd2lVeDFDSs7yn84P2hoJoWaEPPdxRx0igHrQ5x23cd3C1p4A1KSiw2KRy14llrD\n nxws+Gq2p4x19rTCvLZIvau2j+tuyE0q2DAqXukNMvIGn41txjsvh9sV7hhA3+bo3ABr\n GcCA=="
        ],
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1776997359; x=1777602159;\n h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date\n :message-id:reply-to;\n bh=h6Q6LZm6t3a3obTMnYlRfvjs5AoE8Rw9crQbSkER7Qw=;\n b=IbHXE+IDCCRpIEZVPwVxRLbDDfUE1+MCQsS8aqrOIJczlEszoFjtT6aCGZd+kfvsJ3\n 5QWsdT/gvIw+CyghU6xUbKkTGg0LYlITOdhkcrbPVfsQpXKpkoxLRaC+xLOBwb/Lu9u4\n rgRDJiQSRrPye30DmdkIFdAkFhTUttgQoBIKD8/yZQkO2dbkIkIKyQN+kdh5g+p8N8p4\n repptcwkmwaJgZJ5mLY3zZO8WG1joh+rwmYvxvQkVEjY5CSHrpVDYQJkCg9krjFW6WXY\n z8GQgJtksfGMsOCvHSGTvjE5ZSf/PDOBcI4WeqYye+bSo87oeK1gV7Mre4ey5mm56zsh\n XIVg==",
        "X-Gm-Message-State": "AOJu0YwS/hkeNnbp6fIHmFvSm24mReQrepMjUOl89GQ5ox8b0/MIe3vF\n 50t1onxMqrRWHGaD7hCtg9GqaBV7aTSVmwQkhgxwcdsxdiInEuTXIc3+SW96mXRNppb4pcci1nM\n KbL+9VQPTs/rA9ngCKLvyOtzTXIXx/gfPYBClp3Ho5voumZR2wCDr0eW3qLHc9eqnHK94",
        "X-Gm-Gg": "AeBDievGnC75okUaFdKHKygETvG+ku7t8C6GR8qVmWaOkPsb1KzBTcs5HFqHu9xy+8q\n MaPgR8A0DEfPQDftPMT0BBZ88DvyY44yguEK44vEzfXxnznMnAOiGObe7gYZTDjXpBecVYS9PkK\n HwroQVNufSPfztm9K6kM9jpDAHmEwB80Jlv+YE2047QnHfaQDcb1FFY2kPX5U1VuQKZi1SOuCRF\n fR+BYaBiZMMZcrpXKfQPZNbPviDLYo7tFWfdiw3nNdQumLb90+1JnX4UVo4LCTe/aYHOzNCw1zE\n TvWEVEig5ROi9IrLxmip/khh9Tu/lXlBZUIDYkaBatkACrOMJ/+Nd9FuuxUS1mm1m3h3zf53Ydf\n NZ5dZMBRkrcdLySRxRRyaN37M8SOWTiLooHn8jTjmuOq+qPLlad1d53GTIw==",
        "X-Received": [
            "by 2002:a05:6a00:22c5:b0:82a:7734:8c6a with SMTP id\n d2e1a72fcca58-82f8c9378ebmr31316160b3a.48.1776997359243;\n Thu, 23 Apr 2026 19:22:39 -0700 (PDT)",
            "by 2002:a05:6a00:22c5:b0:82a:7734:8c6a with SMTP id\n d2e1a72fcca58-82f8c9378ebmr31316141b3a.48.1776997358743;\n Thu, 23 Apr 2026 19:22:38 -0700 (PDT)"
        ],
        "From": "Andrew Pinski <andrew.pinski@oss.qualcomm.com>",
        "To": "gcc-patches@gcc.gnu.org",
        "Cc": "feedable <feedabl3@gmail.com>,\n Andrew Pinski <andrew.pinski@oss.qualcomm.com>",
        "Subject": "[to-be-committed] Do not use DEFAULT_CFLAGS in ieee.exp [PR125003]",
        "Date": "Thu, 23 Apr 2026 19:22:31 -0700",
        "Message-ID": "<20260424022231.2644077-1-andrew.pinski@oss.qualcomm.com>",
        "X-Mailer": "git-send-email 2.43.0",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-Proofpoint-Spam-Details-Enc": "AW1haW4tMjYwNDI0MDAxNyBTYWx0ZWRfXyVB9l/wmTbNY\n CJ379qhih0LoLnykX+7X0tWW607tA5L+HlYTBKs33ztjG9J4LMibuHKbczE2SztZfuExSlsfYyz\n gUWg9VXcFktf8sqm7n1dxRzJ7j3ImapcFHLQo2txKjMzHBMuEKeMyZ+ql69tR/D3TAwYgC+cp8C\n NqNGnX5nPPL+NphzVYu3WnrpF2RnGeEilHlEMQD1Pm29KkvnDA0hJWe69Hyi76gucu+8Bc5kV+D\n ZZHa0//pujL0BjZUQRhhVzvgbszCBC3DnMUAK/+WyY24R/v6zV7BidrxZroWK/ErWu5ewBFrfc+\n cSuXzfNNWdYx1NFSEu4EUqjScKqYBV1n/yWoeqyUD/qtV6d/YwsPL7vOT08UVvcLbpIviqqtx7X\n S6EWWshVQb6rwi5Rc1FqOWHWLpBnInNf60+hxpZ7qFbpj0Yjfw4nDTC8DxRp9boFzjxwtfY+LRD\n ZNZn6U4OgaQCKHkK9uA==",
        "X-Authority-Analysis": "v=2.4 cv=TtnWQjXh c=1 sm=1 tr=0 ts=69ead3f0 cx=c_pps\n a=mDZGXZTwRPZaeRUbqKGCBw==:117 a=KIk4Hl+jOAK8q82vkwgjIg==:17\n a=A5OVakUREuEA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22\n a=u7WPNUs3qKkmUXheDGA7:22 a=3WHJM1ZQz_JShphwDgj5:22 a=pGLkceISAAAA:8\n a=EUspDBNiAAAA:8 a=QsSdpy-gjKrlHbdkiwwA:9 a=zc0IvFSfCIW2DFIPzwfm:22",
        "X-Proofpoint-ORIG-GUID": "uyp3IBh--FF5XWXFHICME94MOtluiCMS",
        "X-Proofpoint-GUID": "uyp3IBh--FF5XWXFHICME94MOtluiCMS",
        "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.51,FMLib:17.12.100.49\n definitions=2026-04-23_03,2026-04-21_02,2025-10-01_01",
        "X-Proofpoint-Spam-Details": "rule=outbound_notspam policy=outbound score=0\n priorityscore=1501 impostorscore=0 malwarescore=0 clxscore=1015 adultscore=0\n spamscore=0 bulkscore=0 suspectscore=0 phishscore=0 lowpriorityscore=0\n classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0\n reason=mlx scancount=1 engine=8.22.0-2604200000 definitions=main-2604240017",
        "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": "From: feedable <feedabl3@gmail.com>\n\nieee.exp tries to inherit flags from DEFAULT_CFLAGS, which is sometimes set and sometimes unset\nWhen it is set, it is set to \"-ansi -pedantic-errors\", which causes spurious failures.\n\nIntroduce a new variable, DEFAULT_IEEE_CFLAGS, which is independent of\nDEFAULT_CFLAGS, but which boards may still override if needed.\nIt includes the default of \"-w -fno-inline\" as it was in the old style testcases.\n\nThen the target specific flags should not be stored out in DEFAULT_IEEE_CFLAGS but they\nare needed for the default flags passed to the compiler. They can't be stored out to\nDEFAULT_IEEE_CFLAGS as for x86, depending on if -m32 or -m64 is first, -ffloat-store might\nbe included for -m64 or not. We don't want it to be there for -m64.\n\nThis is what I am going to push after testing it. The changes were on top of feedable's current\npatch as I reviewed them. It was just easier to fix up feedable's current patch rather than go through another review cycle. \n\n\tPR testsuite/125003\n\ngcc/testsuite/ChangeLog:\n\n\t* gcc.c-torture/execute/ieee/ieee.exp: Rewrite the default flags\n\tand set DEFAULT_IEEE_CFLAGS if not already set.\n\nCo-authored-by: Andrew Pinski <andrew.pinski@oss.qualcomm.com>\n---\n .../gcc.c-torture/execute/ieee/ieee.exp       | 31 ++++++++++---------\n 1 file changed, 16 insertions(+), 15 deletions(-)",
    "diff": "diff --git a/gcc/testsuite/gcc.c-torture/execute/ieee/ieee.exp b/gcc/testsuite/gcc.c-torture/execute/ieee/ieee.exp\nindex 2f2d7c432f2..451693a6023 100644\n--- a/gcc/testsuite/gcc.c-torture/execute/ieee/ieee.exp\n+++ b/gcc/testsuite/gcc.c-torture/execute/ieee/ieee.exp\n@@ -33,41 +33,42 @@ if { [istarget \"vax-*-*\"] || [ istarget \"powerpc-*-*spe\"] || [istarget \"pdp11-*-\n \n \n # If a testcase doesn't have special options, use these.\n-global DEFAULT_CFLAGS\n-set MY_CFLAGS \"\"\n-if [info exists DEFAULT_CFLAGS] then {\n-    set MY_CFLAGS $DEFAULT_CFLAGS\n+global DEFAULT_IEEE_CFLAGS\n+if ![info exists DEFAULT_IEEE_CFLAGS] then {\n+  set DEFAULT_IEEE_CFLAGS \"-w -fno-inline\"\n }\n \n-lappend MY_CFLAGS \"-w\"\n-lappend MY_CFLAGS \"-fno-inline\"\n+set IEEE_CFLAGS $DEFAULT_IEEE_CFLAGS\n+\n+# The following flags are target-specific, a board may want to override these\n \n # We must use -ffloat-store/-mieee to ensure that excess precision on some\n # machines does not cause problems\n if { ([istarget \"i?86-*-*\"] || [istarget \"x86_64-*-*\"])\n-     && [check_effective_target_ia32] } then {\n-  lappend MY_CFLAGS -ffloat-store\n+    && [check_effective_target_ia32] } then {\n+    lappend IEEE_CFLAGS -ffloat-store\n }\n if [istarget \"m68k-*-*\"] then {\n-  lappend MY_CFLAGS -ffloat-store\n+  lappend IEEE_CFLAGS -ffloat-store\n }\n-if { [istarget \"alpha*-*-*\"]\n-     || [istarget \"sh*-*-*\"] } then {\n-  lappend MY_CFLAGS -mieee\n+if { [istarget \"alpha*-*-*\"] || [istarget \"sh*-*-*\"] } then {\n+  lappend IEEE_CFLAGS -mieee\n }\n if [istarget rx-*-*] then {\n-  lappend MY_CFLAGS -mnofpu\n+  lappend IEEE_CFLAGS -mnofpu\n }\n \n+# These flags are not target-specific, always set them\n+\n if { ![check_effective_target_signal] } {\n-  lappend MY_CFLAGS -DSIGNAL_SUPPRESS\n+  lappend IEEE_CFLAGS -DSIGNAL_SUPPRESS\n }\n \n \n # main test loop\n set saved-dg-do-what-default ${dg-do-what-default}\n set dg-do-what-default \"run\"\n-gcc-dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.\\[cS\\]]] \"\" $MY_CFLAGS\n+gcc-dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.\\[cS\\]]] \"\" $IEEE_CFLAGS\n set dg-do-what-default ${saved-dg-do-what-default}\n \n # All done.\n",
    "prefixes": [
        "to-be-committed"
    ]
}