Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2217748/?format=api
{ "id": 2217748, "url": "http://patchwork.ozlabs.org/api/patches/2217748/?format=api", "web_url": "http://patchwork.ozlabs.org/project/gcc/patch/orfr5h78el.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": "<orfr5h78el.fsf_-_@lxoliva.fsfla.org>", "list_archive_url": null, "date": "2026-03-30T13:29:22", "name": "testsuite: ppc: do not expect sibcalls in safe-indirect-jump-1.c", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "ff38217419054a031a9b5751a7b1ace43ceb921a", "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/orfr5h78el.fsf_-_@lxoliva.fsfla.org/mbox/", "series": [ { "id": 498030, "url": "http://patchwork.ozlabs.org/api/series/498030/?format=api", "web_url": "http://patchwork.ozlabs.org/project/gcc/list/?series=498030", "date": "2026-03-30T13:29:22", "name": "testsuite: ppc: do not expect sibcalls in safe-indirect-jump-1.c", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/498030/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2217748/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2217748/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=Ux6h8kgG;\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 secure) header.d=adacore.com header.i=@adacore.com header.a=rsa-sha256\n header.s=google header.b=Ux6h8kgG", "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.177" ], "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 4fksZ64BFjz1yG8\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 31 Mar 2026 00:30:21 +1100 (AEDT)", "from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id 614CB4B92088\n\tfor <incoming@patchwork.ozlabs.org>; Mon, 30 Mar 2026 13:30:14 +0000 (GMT)", "from mail-dy1-f177.google.com (mail-dy1-f177.google.com\n [74.125.82.177])\n by sourceware.org (Postfix) with ESMTPS id E80554BA9001\n for <gcc-patches@gcc.gnu.org>; Mon, 30 Mar 2026 13:29:45 +0000 (GMT)", "by mail-dy1-f177.google.com with SMTP id\n 5a478bee46e88-2c15849aa2cso4549246eec.0\n for <gcc-patches@gcc.gnu.org>; Mon, 30 Mar 2026 06:29:45 -0700 (PDT)", "from free.home ([2804:14c:4d1:41a6::1455])\n by smtp.gmail.com with ESMTPSA id\n 5a478bee46e88-2c3c747e410sm7080103eec.25.2026.03.30.06.29.43\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Mon, 30 Mar 2026 06:29:44 -0700 (PDT)", "from livre (livre.home [172.31.160.2])\n by free.home (8.15.2/8.15.2) with ESMTPS id 62UDTSka049447\n (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT);\n Mon, 30 Mar 2026 10:29:29 -0300" ], "DKIM-Filter": [ "OpenDKIM Filter v2.11.0 sourceware.org 614CB4B92088", "OpenDKIM Filter v2.11.0 sourceware.org E80554BA9001" ], "DMARC-Filter": "OpenDMARC Filter v1.4.2 sourceware.org E80554BA9001", "ARC-Filter": "OpenARC Filter v1.0.0 sourceware.org E80554BA9001", "ARC-Seal": "i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1774877386; cv=none;\n b=Dr28pTSklaMnKnnYy00TMqnWVKvIF0sFCczkVjc0/5Idxm1GW7pjUCu8kkh2sF+10UicZ5uL2HkhCkB8BEH/skYuX/7BjP+jeR1dxPf3kHHsGzDRzjXWiczj4U8laDW+XWInNJQxFew9l7VSPKMqWmr01hZ16RaUCR87n9n+cHQ=", "ARC-Message-Signature": "i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1774877386; c=relaxed/simple;\n bh=GF7LBXV1/dzJXE82SVQOzuvGPsCxlamTTC4TC7FaVG8=;\n h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version;\n b=PmsVGp6un5h7LB/iephlf1FFA4VWeKNw8qCoP6y697onx22Omj/L7RkA0w3B54l0XmhmdcCb6j/tuNOTq1w83Xj9MEwfHblxJIjTHgJPpvIpH8jcUNoeSNc40CrN6L/DGkvi4yAYsbHFPDDayi7/C8Ba34OZgbVoHxrfgwkI6Sk=", "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=1774877385; x=1775482185; darn=gcc.gnu.org;\n h=mime-version:user-agent:message-id:in-reply-to:date:references\n :organization:subject:cc:to:from:from:to:cc:subject:date:message-id\n :reply-to; bh=4VJ4N2wtkB1buhVZnIjyIoiso2k3tQOcQWJnWpFOMHE=;\n b=Ux6h8kgGeGf/DcUgiDalpLSMgLx/F7+agFnuA8Flk6mqifPy7FKyovFm/h2kQeBIje\n Pyf4SyIP265E35sAPfFLBQC/2loAp0OaVbN/15Rd6it01fCwH6g5zkt0yb/bWG7bLXFO\n zzBAeow3P6A1hgIPiI6idQarLX6/XLt40vz5uwOPMsSpKFG6y9lcyY0G4xFDfXBBgDGE\n GrytljdhXqawA1dkKayrT0fSpELNLLcK2vXLrJOtRTP8Bpxh275Yoo4Wk/cVhnY8/8Um\n Pl4vfnbpuIrmOtsTtl3h/PX+e4Ova9O7uXMIdqmt4zYH2qVYKmJwL9Tl5YNp6ufUjmur\n 7UWQ==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1774877385; x=1775482185;\n h=mime-version:user-agent:message-id:in-reply-to:date:references\n :organization:subject:cc:to:from:x-gm-gg:x-gm-message-state:from:to\n :cc:subject:date:message-id:reply-to;\n bh=4VJ4N2wtkB1buhVZnIjyIoiso2k3tQOcQWJnWpFOMHE=;\n b=aN7tJNmW6Z18dE3BKfmdU3EwXLvbOkjY2/BRTcLXLztvNn0YRPagejGJ/EQq7dS0xq\n Gb4SmlQuLZYctBcJb46wc19HsrCylEk0ZWIeXz50fhsQVxjlLnPKeC0IC2PWTlcKc0gj\n jZmZM80NqFDR0FhLHzXT1YcmcidTxuvqMCE99ZTS0YlWO3oH/GaM0y1ahPHkinnTFCvs\n BXFsdByLsaQvSIdPtXLBdkbDMn7giPbz1lhEjUzZ89lhkzHWgcGgA8kemn4nLzUQGc10\n 7Zj9K/7X9Dd8yRzB1H1Zq5PaRBJxLFTLOL6BQCyre0r6PArzMQZ77uvtaHdCjLe/ULpW\n s5gg==", "X-Gm-Message-State": "AOJu0Yzmix3RCvlGvwf+upHhXeL7lavgogGi8G8enV0DnkcWco3tHTEg\n evqMaGKMLnY/ZQjdv8Ol/N2mN7fW/lDC9LbT/cf7CBbFwnT/hHz52AeUTrn6TJX0swl9SObs28+\n VqvE=", "X-Gm-Gg": "ATEYQzx5VP823FORh9sYBTJoLACuHshYWCgNwy4Suiqu3rGZrblNNkBlP2wRs8bmgY8\n aCHn/Oi3Px7oUznEG3LThsaiiJbYevsWPK0nvO584OGHiTu8sDYyCyMLGjiusaneWtvxqqLWdZC\n gjBxE70w3Wi+phOTddK9RP9Jze+2XhCWCHsB5vzuuLXJD/oIEqMk32MnCZGMF6z8Sozu0Sfdsk5\n JNuslxNe7JDaFvZ7FpPBubQooR0Ut6niVVF0MG/3P5i0Shj++Rki7oph53iAmpWQnklwB7QrjzP\n wKnoCjveLTROoLTwjerCwaZev1bBhVTRSlHhBx0B1ssFdyGNfu5G6C5gCxu6YVDJ2Uz4GEDsNde\n tQTFSkfdHyLt5RBO+lEG7r5euWTWDBOIJKBdnrKnP2pILNivIF+gEDvtRSAQq98/SqszmZpOOOb\n 4=", "X-Received": "by 2002:a05:7300:148c:b0:2c5:60d0:703b with SMTP id\n 5a478bee46e88-2c560d0e736mr2689552eec.14.1774877384674;\n Mon, 30 Mar 2026 06:29:44 -0700 (PDT)", "From": "Alexandre Oliva <oliva@adacore.com>", "To": "gcc-patches@gcc.gnu.org", "Cc": "Segher Boessenkool <segher@kernel.crashing.org>, Bill Schmidt\n <bill.schmidt@fastmail.com>, Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>,\n Mike Stump <mikestump@comcast.net>, David Edelsohn <dje.gcc@gmail.com>,\n Kewen Lin <linkw@gcc.gnu.org>", "Subject": "[PATCH] testsuite: ppc: do not expect sibcalls in\n safe-indirect-jump-1.c", "Organization": "Free thinker, does not speak for AdaCore", "References": "<ora4vuaw55.fsf@lxoliva.fsfla.org>\n <or8qbb88kk.fsf@lxoliva.fsfla.org> <ormrzp7k9r.fsf@lxoliva.fsfla.org>", "Date": "Mon, 30 Mar 2026 10:29:22 -0300", "In-Reply-To": "<ormrzp7k9r.fsf@lxoliva.fsfla.org> (Alexandre Oliva's message of\n \"Mon, 30 Mar 2026 06:13:04 -0300\")", "Message-ID": "<orfr5h78el.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": "On Mar 30, 2026, Alexandre Oliva <oliva@adacore.com> wrote:\n\n> Failing that, should we make the test for beqctrl- unconditional and\n> wait for reports to find out where that breaks?\n\nLike this:\n\n\nUnable to identify any ilp32 powerpc variant that would issue a\nsibcall, even as far back as when safe-indirect-jump-8.c was\nintroduced, before it was folded into -1.c (which introduced the\nmalformed negated triplet), I propose we drop the checks for\nalternative codegen patterns and check for what we've been getting,\nand sometimes checking for, since the introduction of the testcase.\n\nRegstrapped on x86_64-linux-gnu. Also tested with ppc-elf and\nppc-vx7r2. Ok to install?\n\n\nfor gcc/testsuite/ChangeLog\n\n\t* gcc.target/powerpc/safe-indirect-jump-1.c: Drop checks for\n\tsibcall.\n---\n .../gcc.target/powerpc/safe-indirect-jump-1.c | 8 ++------\n 1 file changed, 2 insertions(+), 6 deletions(-)", "diff": "diff --git a/gcc/testsuite/gcc.target/powerpc/safe-indirect-jump-1.c b/gcc/testsuite/gcc.target/powerpc/safe-indirect-jump-1.c\nindex adecb3cd67233..dd65691a4fc14 100644\n--- a/gcc/testsuite/gcc.target/powerpc/safe-indirect-jump-1.c\n+++ b/gcc/testsuite/gcc.target/powerpc/safe-indirect-jump-1.c\n@@ -14,9 +14,5 @@ int bar ()\n \n /* { dg-final { scan-assembler \"crset 2\" } } */\n \n-/* The AIX and ELFv2 ABIs don't allow a sibcall here. */\n-/* { dg-final { scan-assembler \"beqctrl-\" { target { lp64 || { powerpc*-*-aix* } } } } } */\n-\n-/* The other ABIs do allow a sibcall. */\n-/* { dg-final { scan-assembler \"beqctr-\" { target { ilp32 && { ! powerpc*-*-aix* } } } } } */\n-/* { dg-final { scan-assembler {b \\$} { target { ilp32 && { ! powerpc*-*-aix* } } } } } */\n+/* The AIX and ELFv2 ABIs don't allow a sibcall here. ??? ELFv1 doesn't either. */\n+/* { dg-final { scan-assembler \"beqctrl-\" } } */\n", "prefixes": [] }