Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2217845/?format=api
{ "id": 2217845, "url": "http://patchwork.ozlabs.org/api/patches/2217845/?format=api", "web_url": "http://patchwork.ozlabs.org/project/gcc/patch/20260330182747.343969-1-dimitar@dinux.eu/", "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": "<20260330182747.343969-1-dimitar@dinux.eu>", "list_archive_url": null, "date": "2026-03-30T18:27:47", "name": "testsuite: Require int32plus effective target for pr122925.c", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "21e42a25dd5202bdb27311f5b261560d7ab90fc1", "submitter": { "id": 74290, "url": "http://patchwork.ozlabs.org/api/people/74290/?format=api", "name": "Dimitar Dimitrov", "email": "dimitar@dinux.eu" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/gcc/patch/20260330182747.343969-1-dimitar@dinux.eu/mbox/", "series": [ { "id": 498076, "url": "http://patchwork.ozlabs.org/api/series/498076/?format=api", "web_url": "http://patchwork.ozlabs.org/project/gcc/list/?series=498076", "date": "2026-03-30T18:27:47", "name": "testsuite: Require int32plus effective target for pr122925.c", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/498076/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2217845/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2217845/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=fail reason=\"signature verification failed\" (2048-bit key;\n unprotected) header.d=dinux.eu header.i=@dinux.eu header.a=rsa-sha256\n header.s=default header.b=MlI1OwYy;\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=fail reason=\"signature verification failed\" (2048-bit key,\n unprotected) header.d=dinux.eu header.i=@dinux.eu header.a=rsa-sha256\n header.s=default header.b=MlI1OwYy", "sourceware.org;\n dmarc=none (p=none dis=none) header.from=dinux.eu", "sourceware.org; spf=pass smtp.mailfrom=dinux.eu", "server2.sourceware.org;\n arc=none smtp.remote-ip=217.174.156.11" ], "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 4fl0BG2Vk5z1xrn\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 31 Mar 2026 05:28:37 +1100 (AEDT)", "from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id 2FFEA4B92099\n\tfor <incoming@patchwork.ozlabs.org>; Mon, 30 Mar 2026 18:28:35 +0000 (GMT)", "from server28.superhosting.bg (server28.superhosting.bg\n [217.174.156.11])\n by sourceware.org (Postfix) with ESMTPS id 6537B4BB591B\n for <gcc-patches@gcc.gnu.org>; Mon, 30 Mar 2026 18:27:55 +0000 (GMT)", "from 95-42-20-142.ip.btc-net.bg ([95.42.20.142]:34326\n helo=kendros.lan)\n by server28.superhosting.bg with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384\n (Exim 4.99.1) (envelope-from <dimitar@dinux.eu>)\n id 1w7HL5-00000008Qey-38Hx; Mon, 30 Mar 2026 21:27:54 +0300" ], "DKIM-Filter": [ "OpenDKIM Filter v2.11.0 sourceware.org 2FFEA4B92099", "OpenDKIM Filter v2.11.0 sourceware.org 6537B4BB591B" ], "DMARC-Filter": "OpenDMARC Filter v1.4.2 sourceware.org 6537B4BB591B", "ARC-Filter": "OpenARC Filter v1.0.0 sourceware.org 6537B4BB591B", "ARC-Seal": "i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1774895275; cv=none;\n b=nH+mdfuK1RxUL6Wn0P/Nr84FcL3YOl9+eBe1snO8frzZv4sDuryRQ/tL6XCO6U3mBVor6xGdlssvO5beB8LVMJVs/TipadrkV8JVpjsUizUw3oQ/dAjqJazkUrhQDUxAHH81MYSY9D9Hw39Bj78I0eoF3i0C6VizJ6v6PipvjmU=", "ARC-Message-Signature": "i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1774895275; c=relaxed/simple;\n bh=hm4yG4ZDTbZDAr1HNsalG+/UBh07b3VFdQgncZj8nXo=;\n h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version;\n b=odrpFLlRzduTXcGs3YFBXcwVJoEHvGKrZ4OjxpzQGrm399F4paxVxQLLdmeRFAPQ1ZwR8MPaZL35h40QfDkKMUzZrhzZN4gZF1Y5TUrdAqrT/rqPmlxamJ2rasJhZ3zb98NFl206Xdn6qAw9s2xGsabMaWHnKI9oNncmkNe20OI=", "ARC-Authentication-Results": "i=1; server2.sourceware.org", "DKIM-Signature": "v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dinux.eu;\n s=default; h=Content-Transfer-Encoding:MIME-Version:Message-ID:Date:Subject:\n Cc:To:From:Sender:Reply-To:Content-Type:Content-ID:Content-Description:\n Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:\n In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:\n List-Post:List-Owner:List-Archive;\n bh=+pyIKtGDk8ximsTiZurKnrSRmg0HMQJtYuONBF7nYic=; b=MlI1OwYyn306/MX9cQspEZKTc4\n nnNVwMnvkMR+679TjwzUvg09wR4AUDrdha0kSwRCIILuejA1iNoxlfF7qomVvAYElbHY19koGO/nU\n sTsKR05h4lmVzrS4PY2G0HRmIWJxic0w6UnA9IVenxZWk3nZcVn4uX5rW/LHHLGgYbM/Ix5sB47HZ\n wdz7HlzitE2xlZARQTBC4r39LfiHOuPyTgDdO8YGkPsiCM1EQIfqCCso/WfzedHgv8tZ1M8KfvvWS\n BQqvRDgWQT1r5+CtivYab37RB8zHmj+OCipqXOrJUyQWjo0x5YOI0B3PVsVBmimWaDlQ4PjavTn83\n +kTqsClQ==;", "From": "Dimitar Dimitrov <dimitar@dinux.eu>", "To": "gcc-patches@gcc.gnu.org", "Cc": "Dimitar Dimitrov <dimitar@dinux.eu>,\n\t\"H.J. Lu\" <hjl.tools@gmail.com>", "Subject": "[PATCH] testsuite: Require int32plus effective target for pr122925.c", "Date": "Mon, 30 Mar 2026 21:27:47 +0300", "Message-ID": "<20260330182747.343969-1-dimitar@dinux.eu>", "X-Mailer": "git-send-email 2.53.0", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "X-AntiAbuse": [ "This header was added to track abuse,\n please include it with any abuse report", "Primary Hostname - server28.superhosting.bg", "Original Domain - gcc.gnu.org", "Originator/Caller UID/GID - [47 12] / [47 12]", "Sender Address Domain - dinux.eu" ], "X-Get-Message-Sender-Via": "server28.superhosting.bg: authenticated_id:\n dimitar@dinux.eu", "X-Authenticated-Sender": "server28.superhosting.bg: dimitar@dinux.eu", "X-Source": "", "X-Source-Args": "", "X-Source-Dir": "", "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": "The test case logic relies on the constant literal -4 being promoted to\n32-bit int. But on AVR and other targets with 16-bit int types, the\nliteral is promoted to 16-bit int, which changes the expression value\nand ultimately failing the test:\n\n FAIL: gcc.dg/pr122925.c execution test\n\nFix by requiring an effective target with at least 32-bit ints.\n\nOk for trunk? The test was added in stage 4, so I think it's reasonable\nto fix now.\n\ngcc/testsuite/ChangeLog:\n\n\t* gcc.dg/pr122925.c: Require int32plus effective target.\n\nCc: H.J. Lu <hjl.tools@gmail.com>\nSigned-off-by: Dimitar Dimitrov <dimitar@dinux.eu>\n---\n gcc/testsuite/gcc.dg/pr122925.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/gcc/testsuite/gcc.dg/pr122925.c b/gcc/testsuite/gcc.dg/pr122925.c\nindex 1f27af14a58..8aebad6c7bc 100644\n--- a/gcc/testsuite/gcc.dg/pr122925.c\n+++ b/gcc/testsuite/gcc.dg/pr122925.c\n@@ -1,4 +1,4 @@\n-/* { dg-do run } */\n+/* { dg-do run { target int32plus } } */\n /* { dg-options \"-O2\" } */\n \n typedef __UINT64_TYPE__ uint64_t;\n", "prefixes": [] }