Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2197169/?format=api
{ "id": 2197169, "url": "http://patchwork.ozlabs.org/api/patches/2197169/?format=api", "web_url": "http://patchwork.ozlabs.org/project/gcc/patch/yddpl63vhc0.fsf@CeBiTec.Uni-Bielefeld.DE/", "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": "<yddpl63vhc0.fsf@CeBiTec.Uni-Bielefeld.DE>", "list_archive_url": null, "date": "2026-02-17T09:40:15", "name": "[COMMITTED] testsuite: Require gas in gcc.dg/hierarchical-discriminator-loop-version.c etc. scans", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "43cdab3391be9c64874c05aa87f89faa0278f07d", "submitter": { "id": 4362, "url": "http://patchwork.ozlabs.org/api/people/4362/?format=api", "name": "Rainer Orth", "email": "ro@CeBiTec.Uni-Bielefeld.DE" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/gcc/patch/yddpl63vhc0.fsf@CeBiTec.Uni-Bielefeld.DE/mbox/", "series": [ { "id": 492402, "url": "http://patchwork.ozlabs.org/api/series/492402/?format=api", "web_url": "http://patchwork.ozlabs.org/project/gcc/list/?series=492402", "date": "2026-02-17T09:40:15", "name": "[COMMITTED] testsuite: Require gas in gcc.dg/hierarchical-discriminator-loop-version.c etc. scans", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/492402/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2197169/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2197169/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=cebitec.uni-bielefeld.de header.i=@cebitec.uni-bielefeld.de\n header.a=rsa-sha256 header.s=20200306 header.b=MKnqInKO;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org\n (client-ip=38.145.34.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=cebitec.uni-bielefeld.de header.i=@cebitec.uni-bielefeld.de\n header.a=rsa-sha256 header.s=20200306 header.b=MKnqInKO", "sourceware.org; dmarc=none (p=none dis=none)\n header.from=CeBiTec.Uni-Bielefeld.DE", "sourceware.org;\n spf=pass smtp.mailfrom=cebitec.uni-bielefeld.de", "server2.sourceware.org;\n arc=none smtp.remote-ip=129.70.160.84" ], "Received": [ "from vm01.sourceware.org (vm01.sourceware.org [38.145.34.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 4fFZQB6QR4z1xpY\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 17 Feb 2026 20:40:50 +1100 (AEDT)", "from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id 9C17D4BA23DB\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 17 Feb 2026 09:40:48 +0000 (GMT)", "from smtp.CeBiTec.Uni-Bielefeld.DE (smtp.CeBiTec.Uni-Bielefeld.DE\n [129.70.160.84])\n by sourceware.org (Postfix) with ESMTPS id 2D00E4BA23DB\n for <gcc-patches@gcc.gnu.org>; Tue, 17 Feb 2026 09:40:17 +0000 (GMT)", "from localhost (localhost.CeBiTec.Uni-Bielefeld.DE [127.0.0.1])\n by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id 4EA24E4C08;\n Tue, 17 Feb 2026 10:40:16 +0100 (CET)", "from smtp.CeBiTec.Uni-Bielefeld.DE ([127.0.0.1])\n by localhost (smtp.cebitec.uni-bielefeld.de [127.0.0.1]) (amavisd-new,\n port 10026)\n with ESMTP id R_GgUlC2rkwl; Tue, 17 Feb 2026 10:40:15 +0100 (CET)", "from manam.CeBiTec.Uni-Bielefeld.DE (p508543ca.dip0.t-ipconnect.de\n [80.133.67.202]) (Authenticated sender: ro)\n by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTPSA id D884CE4C07;\n Tue, 17 Feb 2026 10:40:15 +0100 (CET)" ], "DKIM-Filter": [ "OpenDKIM Filter v2.11.0 sourceware.org 9C17D4BA23DB", "OpenDKIM Filter v2.11.0 sourceware.org 2D00E4BA23DB" ], "DMARC-Filter": "OpenDMARC Filter v1.4.2 sourceware.org 2D00E4BA23DB", "ARC-Filter": "OpenARC Filter v1.0.0 sourceware.org 2D00E4BA23DB", "ARC-Seal": "i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1771321217; cv=none;\n b=eczqng2A9IqQ9PfmI+p4BGtSIj0VrkxgbYibnw0nNaReCQ9n+v4+flcINZv0PZxtaD2lUH3ueIRX7frEpFMX5y6KS4Mkb6jc5F8Gb/FDyJIhNMrO9+Z6J0v2k6+qMikYqdglY0iDpngxhev8XOD+LwdE8XH7iedA9x9n47ZsYUU=", "ARC-Message-Signature": "i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1771321217; c=relaxed/simple;\n bh=OzVzE+y1d1E3vRkzNMBsyIcye4T6eI/w4lz5ih6tIB4=;\n h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version;\n b=UJF1G/nUUJWg2jR0IkoehjXZj94f2N6SqaKLdIV7fx3rhK8o9675S5T9dN4fr5VANH7tF1oe3MK1qTi4f7y1pYMzx1W3SK/bLtPaCP/7FTaBd9hIno7oFJbANk6iuIYqo3ywKfAq6TOoi8il7PdaqDDkne7R7se9DJoB4XUmZOo=", "ARC-Authentication-Results": "i=1; server2.sourceware.org", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=\n cebitec.uni-bielefeld.de; h=content-type:content-type\n :mime-version:user-agent:message-id:date:date:subject:subject\n :from:from:received:received; s=20200306; t=1771321215; bh=OzVzE\n +y1d1E3vRkzNMBsyIcye4T6eI/w4lz5ih6tIB4=; b=MKnqInKONDe4tGDzJYMZ8\n cDhd9LPkGuhNxOCAbx3ntkfAa+v4+UUJaRa/N+kttvgtKoT3c4cVmacAu12ou4TH\n 5jVDyOsyIe6HULZusExbfKalQPCPjdQmlGE3pWcBA6WfS/1weaTW/cCx4Ze9JP6b\n IO5lp0JIUf7mu1dgLvyrUlazAYPsBAmZUI66MOi4eguUmRk927U+0na+WkgQUZTZ\n YZXJ3OrmVqhkv06pP10FF1gIuryiWBj0uP+oIXiQOOIU8RtjwQ+Ye5PcLmMjpoj0\n TN/2Igcy3YC46CTsu7MbmETJlbcO4Bg02SSf7ubl/16VNOlrLDz2x4HWxLYa9cCb\n w==", "X-Virus-Scanned": "amavisd-new at cebitec.uni-bielefeld.de", "From": "Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>", "To": "gcc-patches@gcc.gnu.org", "Cc": "Kugan Vivekanandarajah <kvivekananda@nvidia.com>", "Subject": "[COMMITTED] testsuite: Require gas in\n gcc.dg/hierarchical-discriminator-loop-version.c etc. scans", "Date": "Tue, 17 Feb 2026 10:40:15 +0100", "Message-ID": "<yddpl63vhc0.fsf@CeBiTec.Uni-Bielefeld.DE>", "User-Agent": "Gnus/5.13 (Gnus v5.13)", "MIME-Version": "1.0", "Content-Type": "multipart/mixed; boundary=\"=-=-=\"", "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 gcc.dg/hierarchical-discriminator-loop-version.c etc. tests FAIL on\nSolaris with the native assembler:\n\nFAIL: gcc.dg/hierarchical-discriminator-loop-version.c scan-assembler \\\\\\\\.loc 1 (9|10) [0-9]+ is_stmt 0 discriminator [0-9]+\nFAIL: gcc.dg/hierarchical-discriminator-unroll.c scan-assembler \\\\\\\\.loc 1 17 7 is_stmt 0 discriminator ([1-9][0-9]*|0x[1-9a-fA-F][0-9a-fA-F]*)\nFAIL: gcc.dg/hierarchical-discriminator-vect-version.c scan-assembler \\\\\\\\.loc 1 13 [0-9]+ is_stmt 0 discriminator ([1-9][0-9]*|0x[1-9a-fA-F][0-9a-fA-F]*)\n\nWhen using Solaris as, the .loc directives aren't present. Their use is\nguarded by dwarf2out.cc (dwarf2out_default_as_loc_support), which\nultimately depends on HAVE_AS_DWARF2_DEBUG_LINE\n\nTo avoid this, this patch restricts the scans to gas targets, which is\nbetter than what we currently have.\n\nTested on i386-pc-solaris2.11 and sparc-sun-solaris2.11 (as and gas),\nand x86_64-pc-linux-gnu.\n\nCommitted to trunk.\n\nGiven that target gas is only an approximation for\nHAVE_AS_DWARF2_DEBUG_LINE, it would be better to have an effective\ntarget for the latter. I'm working on a patch to automatically create\nthose from auto-host.h at build time, but that's stage 1 material and\nprobably overkill for just those three tests.\n\n\tRainer", "diff": "# HG changeset patch\n# Parent 9e92e1e29ce526680dc3105793c6eedd062b9b00\ntestsuite: xfail gcc.dg/hierarchical-discriminator-loop-version.c etc. without gas\n\ndiff --git a/gcc/testsuite/gcc.dg/hierarchical-discriminator-loop-version.c b/gcc/testsuite/gcc.dg/hierarchical-discriminator-loop-version.c\n--- a/gcc/testsuite/gcc.dg/hierarchical-discriminator-loop-version.c\n+++ b/gcc/testsuite/gcc.dg/hierarchical-discriminator-loop-version.c\n@@ -17,4 +17,4 @@ test_loop_versioning (double *x, int ste\n \n /* Check that loop versioning occurred and discriminators are present on the loop body. */\n /* { dg-final { scan-tree-dump \"versioned this loop for when certain strides are 1\" \"lversion\" } } */\n-/* { dg-final { scan-assembler \"\\\\.loc 1 (9|10) \\[0-9\\]+ is_stmt 0 discriminator \\[0-9\\]+\" } } */\n+/* { dg-final { scan-assembler \"\\\\.loc 1 (9|10) \\[0-9\\]+ is_stmt 0 discriminator \\[0-9\\]+\" { target gas } } } */\ndiff --git a/gcc/testsuite/gcc.dg/hierarchical-discriminator-unroll.c b/gcc/testsuite/gcc.dg/hierarchical-discriminator-unroll.c\n--- a/gcc/testsuite/gcc.dg/hierarchical-discriminator-unroll.c\n+++ b/gcc/testsuite/gcc.dg/hierarchical-discriminator-unroll.c\n@@ -27,4 +27,4 @@ test_unroll (void)\n The exact values depend on what other passes have run, but all should be non-zero. */\n \n /* Check that unrolled iterations have non-zero discriminators on the asm statement line. */\n-/* { dg-final { scan-assembler \"\\\\.loc 1 17 7 is_stmt 0 discriminator (\\[1-9\\]\\[0-9\\]*|0x\\[1-9a-fA-F\\]\\[0-9a-fA-F\\]*)\" } } */\n+/* { dg-final { scan-assembler \"\\\\.loc 1 17 7 is_stmt 0 discriminator (\\[1-9\\]\\[0-9\\]*|0x\\[1-9a-fA-F\\]\\[0-9a-fA-F\\]*)\" { target gas } } } */\ndiff --git a/gcc/testsuite/gcc.dg/hierarchical-discriminator-vect-version.c b/gcc/testsuite/gcc.dg/hierarchical-discriminator-vect-version.c\n--- a/gcc/testsuite/gcc.dg/hierarchical-discriminator-vect-version.c\n+++ b/gcc/testsuite/gcc.dg/hierarchical-discriminator-vect-version.c\n@@ -16,4 +16,4 @@ test_vectorize (int *a, int *b, int *c, \n \n /* Check that vectorized code has discriminators on the main loop body line.\n The discriminator should be non-zero to distinguish vector vs scalar versions. */\n-/* { dg-final { scan-assembler \"\\\\.loc 1 13 \\[0-9\\]+ is_stmt 0 discriminator (\\[1-9\\]\\[0-9\\]*|0x\\[1-9a-fA-F\\]\\[0-9a-fA-F\\]*)\" } } */\n+/* { dg-final { scan-assembler \"\\\\.loc 1 13 \\[0-9\\]+ is_stmt 0 discriminator (\\[1-9\\]\\[0-9\\]*|0x\\[1-9a-fA-F\\]\\[0-9a-fA-F\\]*)\" { target gas } } } */\n", "prefixes": [ "COMMITTED" ] }