Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2196348/?format=api
{ "id": 2196348, "url": "http://patchwork.ozlabs.org/api/patches/2196348/?format=api", "web_url": "http://patchwork.ozlabs.org/project/gcc/patch/20260213141942.D3BEB3EA62@imap1.dmz-prg2.suse.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": "<20260213141942.D3BEB3EA62@imap1.dmz-prg2.suse.org>", "list_archive_url": null, "date": "2026-02-13T14:19:38", "name": "testsuite/115827 - avoid false negative because of CCP", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "ebe9b921519466e07d39f14fb4a9d5c6d051a4bc", "submitter": { "id": 4338, "url": "http://patchwork.ozlabs.org/api/people/4338/?format=api", "name": "Richard Biener", "email": "rguenther@suse.de" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/gcc/patch/20260213141942.D3BEB3EA62@imap1.dmz-prg2.suse.org/mbox/", "series": [ { "id": 492104, "url": "http://patchwork.ozlabs.org/api/series/492104/?format=api", "web_url": "http://patchwork.ozlabs.org/project/gcc/list/?series=492104", "date": "2026-02-13T14:19:38", "name": "testsuite/115827 - avoid false negative because of CCP", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/492104/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2196348/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2196348/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 (1024-bit key;\n unprotected) header.d=suse.de header.i=@suse.de header.a=rsa-sha256\n header.s=susede2_rsa header.b=OOYY5+Wq;\n\tdkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256\n header.s=susede2_ed25519 header.b=jO6M2VVv;\n\tdkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de\n header.a=rsa-sha256 header.s=susede2_rsa header.b=OOYY5+Wq;\n\tdkim=neutral header.d=suse.de header.i=@suse.de header.a=ed25519-sha256\n header.s=susede2_ed25519 header.b=jO6M2VVv;\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=suse.de header.i=@suse.de header.a=rsa-sha256\n header.s=susede2_rsa header.b=OOYY5+Wq;\n\tdkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256\n header.s=susede2_ed25519 header.b=jO6M2VVv;\n\tdkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de\n header.a=rsa-sha256 header.s=susede2_rsa header.b=OOYY5+Wq;\n\tdkim=neutral header.d=suse.de header.i=@suse.de header.a=ed25519-sha256\n header.s=susede2_ed25519 header.b=jO6M2VVv", "sourceware.org;\n dmarc=pass (p=none dis=none) header.from=suse.de", "sourceware.org; spf=pass smtp.mailfrom=suse.de", "server2.sourceware.org;\n arc=none smtp.remote-ip=195.135.223.130", "smtp-out1.suse.de;\n\tnone" ], "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 4fCDpW0xn1z1xr1\n\tfor <incoming@patchwork.ozlabs.org>; Sat, 14 Feb 2026 01:20:19 +1100 (AEDT)", "from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id 1D8EC4B9DB6E\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 13 Feb 2026 14:20:17 +0000 (GMT)", "from smtp-out1.suse.de (smtp-out1.suse.de [195.135.223.130])\n by sourceware.org (Postfix) with ESMTPS id 0509B4B9DB52\n for <gcc-patches@gcc.gnu.org>; Fri, 13 Feb 2026 14:19:44 +0000 (GMT)", "from imap1.dmz-prg2.suse.org (unknown [10.150.64.97])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest\n SHA256)\n (No client certificate requested)\n by smtp-out1.suse.de (Postfix) with ESMTPS id 0C69A3E74D;\n Fri, 13 Feb 2026 14:19:43 +0000 (UTC)", "from imap1.dmz-prg2.suse.org (localhost [127.0.0.1])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest\n SHA256)\n (No client certificate requested)\n by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id D3BEB3EA62;\n Fri, 13 Feb 2026 14:19:42 +0000 (UTC)", "from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167])\n by imap1.dmz-prg2.suse.org with ESMTPSA id GAsPMv4yj2lLYgAAD6G6ig\n (envelope-from <rguenther@suse.de>); Fri, 13 Feb 2026 14:19:42 +0000" ], "DKIM-Filter": [ "OpenDKIM Filter v2.11.0 sourceware.org 1D8EC4B9DB6E", "OpenDKIM Filter v2.11.0 sourceware.org 0509B4B9DB52" ], "DMARC-Filter": "OpenDMARC Filter v1.4.2 sourceware.org 0509B4B9DB52", "ARC-Filter": "OpenARC Filter v1.0.0 sourceware.org 0509B4B9DB52", "ARC-Seal": "i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1770992384; cv=none;\n b=T2qwn0Xro0rn6AtCzczAbLtIQwlH/kxd/0QlSuQI1Y7igEl/nFp33q2/iH4xzT5uybZNb+mzFuKdC2Q5nRbDmW8Anfp1Wm4C/BhAb4jOCm4cUD5NkqrkZJCp+u/8jlN2HgdecMFScbf2/1f8KyCJM9MZG+FVBmQv5/+zwcUjsuU=", "ARC-Message-Signature": "i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1770992384; c=relaxed/simple;\n bh=ZppgBMPzg614VEkfuF1ekDRN1Kt9Twwo/3Mj1cMLifY=;\n h=DKIM-Signature:DKIM-Signature:DKIM-Signature:DKIM-Signature:Date:\n From:To:Subject:MIME-Version:Message-Id;\n b=GRONACTw0/PX687yLA4B3Tpz7IRuiSUijYie6J8gGuv0dwQq2BDutZi2ZhrXKIfMxptPk8gN7mIBWGuz1cF0INEXwTkKasJF0aZiZGO4U+8db5yZa1YGOYxaIsKUrzIVjSj2i8KcuparfYDOldcrEYhLWpwd5iq4Dmpc6wz8v9E=", "ARC-Authentication-Results": "i=1; server2.sourceware.org", "DKIM-Signature": [ "v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de;\n s=susede2_rsa;\n t=1770992383;\n h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc:\n mime-version:mime-version:content-type:content-type;\n bh=4exs0ivsRUMVMCvem0cjVT12/93toGRAQ47Flu/w9TY=;\n b=OOYY5+Wqb1Jxg77wauxouccXW+tLhDk/BVlZXbkaxsCV+LSS/R5MRVS0tXGA7D5PpVzL+A\n aszpIv2eVaKx+M4vZlUihcfe2YP5WFq+OM7rlFA26n559oZll5ym/gTsxanpkrQ3abpZ/h\n bASvhFrKPS9XhHPQqDDrx3lkMV2VYPA=", "v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de;\n s=susede2_ed25519; t=1770992383;\n h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc:\n mime-version:mime-version:content-type:content-type;\n bh=4exs0ivsRUMVMCvem0cjVT12/93toGRAQ47Flu/w9TY=;\n b=jO6M2VVvNb9S1DDrTcRa86PlvvAXbypiRJ2BIY24+vlBTEExoMiuovnNM9/3MAQ9yJyJ/q\n lxPgfWNtPSlsI7Aw==", "v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de;\n s=susede2_rsa;\n t=1770992383;\n h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc:\n mime-version:mime-version:content-type:content-type;\n bh=4exs0ivsRUMVMCvem0cjVT12/93toGRAQ47Flu/w9TY=;\n b=OOYY5+Wqb1Jxg77wauxouccXW+tLhDk/BVlZXbkaxsCV+LSS/R5MRVS0tXGA7D5PpVzL+A\n aszpIv2eVaKx+M4vZlUihcfe2YP5WFq+OM7rlFA26n559oZll5ym/gTsxanpkrQ3abpZ/h\n bASvhFrKPS9XhHPQqDDrx3lkMV2VYPA=", "v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de;\n s=susede2_ed25519; t=1770992383;\n h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc:\n mime-version:mime-version:content-type:content-type;\n bh=4exs0ivsRUMVMCvem0cjVT12/93toGRAQ47Flu/w9TY=;\n b=jO6M2VVvNb9S1DDrTcRa86PlvvAXbypiRJ2BIY24+vlBTEExoMiuovnNM9/3MAQ9yJyJ/q\n lxPgfWNtPSlsI7Aw==" ], "Date": "Fri, 13 Feb 2026 15:19:38 +0100 (CET)", "From": "Richard Biener <rguenther@suse.de>", "To": "gcc-patches@gcc.gnu.org", "cc": "Jakub Jelinek <jakub@redhat.com>", "Subject": "[PATCH] testsuite/115827 - avoid false negative because of CCP", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=US-ASCII", "Message-Id": "<20260213141942.D3BEB3EA62@imap1.dmz-prg2.suse.org>", "X-Spamd-Result": "default: False [-4.30 / 50.00]; BAYES_HAM(-3.00)[99.99%];\n NEURAL_HAM_LONG(-1.00)[-1.000];\n NEURAL_HAM_SHORT(-0.20)[-1.000]; MIME_GOOD(-0.10)[text/plain];\n ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[];\n MISSING_XM_UA(0.00)[]; MIME_TRACE(0.00)[0:+];\n FUZZY_RATELIMITED(0.00)[rspamd.com]; RCPT_COUNT_TWO(0.00)[2];\n RCVD_TLS_ALL(0.00)[];\n DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519];\n FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[];\n TO_DN_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2];\n URIBL_BLOCKED(0.00)[imap1.dmz-prg2.suse.org:mid,imap1.dmz-prg2.suse.org:helo];\n TO_MATCH_ENVRCPT_ALL(0.00)[];\n DBL_BLOCKED_OPENRESOLVER(0.00)[imap1.dmz-prg2.suse.org:mid,\n imap1.dmz-prg2.suse.org:helo]", "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 following adjusts two uninit testcases to avoid a false negative\nthat appears when using -msoft-float on arm because the testcase\nthen mutates into a classical case of CCP eliding\n\n # _11 = PHI <1.0e+0(2), f$real_9(D)(3)>\n\nAvoid this by using a non-constant. And avoid flipping locations\nfor the diagnostic by not duplicating the return statement.\n\nTested on arm with {,-msoft-float} and on x86_64-linux.\n\nOK?\n\nThanks,\nRichard.\n\n\tPR testsuite/115827\n\t* gcc.dg/auto-init-uninit-17.c: Avoid CCP.\n\t* gcc.dg/uninit-17.c: Likewise.\n---\n gcc/testsuite/gcc.dg/auto-init-uninit-17.c | 7 ++-----\n gcc/testsuite/gcc.dg/uninit-17.c | 7 ++-----\n 2 files changed, 4 insertions(+), 10 deletions(-)", "diff": "diff --git a/gcc/testsuite/gcc.dg/auto-init-uninit-17.c b/gcc/testsuite/gcc.dg/auto-init-uninit-17.c\nindex 9eec9440c75..d76227abbe4 100644\n--- a/gcc/testsuite/gcc.dg/auto-init-uninit-17.c\n+++ b/gcc/testsuite/gcc.dg/auto-init-uninit-17.c\n@@ -2,14 +2,11 @@\n /* { dg-options \"-O -Wuninitialized -ftrivial-auto-var-init=zero\" } */\n \n typedef _Complex float C;\n-C foo(int cond)\n+C foo(int cond, float r)\n {\n C f;\n __imag__ f = 0;\n if (cond)\n- {\n- __real__ f = 1;\n- return f;\n- }\n+ __real__ f = r; /* No constant to avoid a CCP induced false negative. */\n return f;\t/* { dg-warning \"may be used\" \"unconditional\" } */\n }\ndiff --git a/gcc/testsuite/gcc.dg/uninit-17.c b/gcc/testsuite/gcc.dg/uninit-17.c\nindex 8a95f15c5ae..ebf2cae0ec2 100644\n--- a/gcc/testsuite/gcc.dg/uninit-17.c\n+++ b/gcc/testsuite/gcc.dg/uninit-17.c\n@@ -2,14 +2,11 @@\n /* { dg-options \"-O -Wuninitialized\" } */\n \n typedef _Complex float C;\n-C foo(int cond)\n+C foo(int cond, float r)\n {\n C f;\n __imag__ f = 0;\n if (cond)\n- {\n- __real__ f = 1;\n- return f;\n- }\n+ __real__ f = r; /* No constant to avoid a CCP induced false negative. */\n return f;\t/* { dg-warning \"may be used\" \"unconditional\" } */\n }\n", "prefixes": [] }