Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/1839954/?format=api
{ "id": 1839954, "url": "http://patchwork.ozlabs.org/api/patches/1839954/?format=api", "web_url": "http://patchwork.ozlabs.org/project/gcc/patch/20230926220314.3897436-1-pinskia@gmail.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": "<20230926220314.3897436-1-pinskia@gmail.com>", "list_archive_url": null, "date": "2023-09-26T22:03:15", "name": "[COMMITTED] Fix pr111456-1.c for targets that use unsigned char by default", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "7ed7ec73f17707046219012aeec7986d59475a56", "submitter": { "id": 40, "url": "http://patchwork.ozlabs.org/api/people/40/?format=api", "name": "Andrew Pinski", "email": "pinskia@gmail.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/gcc/patch/20230926220314.3897436-1-pinskia@gmail.com/mbox/", "series": [ { "id": 375008, "url": "http://patchwork.ozlabs.org/api/series/375008/?format=api", "web_url": "http://patchwork.ozlabs.org/project/gcc/list/?series=375008", "date": "2023-09-26T22:03:15", "name": "[COMMITTED] Fix pr111456-1.c for targets that use unsigned char by default", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/375008/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/1839954/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/1839954/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=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20230601 header.b=PEuR8y7r;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org\n (client-ip=2620:52:3:1:0:246e:9693:128c; helo=server2.sourceware.org;\n envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org;\n receiver=patchwork.ozlabs.org)", "sourceware.org;\n dmarc=pass (p=none dis=none) header.from=gmail.com", "sourceware.org; spf=pass smtp.mailfrom=gmail.com" ], "Received": [ "from server2.sourceware.org (server2.sourceware.org\n [IPv6:2620:52:3:1:0:246e:9693:128c])\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 4RwDKB3Tckz1ypJ\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 27 Sep 2023 08:03:42 +1000 (AEST)", "from server2.sourceware.org (localhost [IPv6:::1])\n\tby sourceware.org (Postfix) with ESMTP id 73887385E019\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 26 Sep 2023 22:03:40 +0000 (GMT)", "from mail-pg1-x52d.google.com (mail-pg1-x52d.google.com\n [IPv6:2607:f8b0:4864:20::52d])\n by sourceware.org (Postfix) with ESMTPS id BDFB33858C27\n for <gcc-patches@gcc.gnu.org>; Tue, 26 Sep 2023 22:03:29 +0000 (GMT)", "by mail-pg1-x52d.google.com with SMTP id\n 41be03b00d2f7-584b2de1ed1so1972904a12.2\n for <gcc-patches@gcc.gnu.org>; Tue, 26 Sep 2023 15:03:29 -0700 (PDT)", "from xeond2.wrightpinski.org ([98.97.116.39])\n by smtp.gmail.com with ESMTPSA id\n c24-20020a170902b69800b001bb1f0605b2sm11461911pls.214.2023.09.26.15.03.26\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Tue, 26 Sep 2023 15:03:27 -0700 (PDT)" ], "DMARC-Filter": "OpenDMARC Filter v1.4.2 sourceware.org BDFB33858C27", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=gmail.com; s=20230601; t=1695765808; x=1696370608; 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=Sz11uMvye+8TuFk+9bg9TtjivN4hnjuhChtL/9s5/DA=;\n b=PEuR8y7rnnYJn/F+XlHIFJCoFFZC5mVYwUgJTnbjYcqOzU4bHsQRcFXGDI+hNt9T9L\n R5UFTXKKV0qN2GtSpGTVMAMNr8siSfraBBapyz78HmKnQTxKHfbbi+H0umR/IPwYWlAC\n 2RuiPDu2/5UebGOkbvODQJGHY83XBWz0/BGINUgwx8JnvEwi7doAH6VNaYXN3OAjpro/\n P7IZ2vrsa1ZMiWGNlvGzoeMptrL48OXbfVRFdy2EN9SWszmECyaNO4Cn36e7HLvmj32B\n 25mP5IARYkq9nPWYEKgBwdw04m9964X4z9kP0Cyp47c6AMq+7OjTak6HrnpvvGwUu0TG\n FZzw==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1695765808; x=1696370608;\n h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n :to:from:x-gm-message-state:from:to:cc:subject:date:message-id\n :reply-to;\n bh=Sz11uMvye+8TuFk+9bg9TtjivN4hnjuhChtL/9s5/DA=;\n b=eqsM2zjFeFi1aqxKiqdNUUTgy5XZoSeHp8FsRK1KIDZmqQgRjmx1Up6y5PipLzCi+M\n I8h71IPD9joOFy+nUvdvB7nzXrqZtOtDgSzbDcWbz/YOm4xXuuys+w+IJyV1gQRAtrBR\n SwwYJ9RAoGCB0uCJsgUN8lJUzBQ/L/jCQD155tZpaLitusKlw4oLthjGj3tokQLwkjin\n jfP+yZS3DldaEnf1fUQUdfNXQto90nfDIDHxmq9fX2WLxd8bTJ7dYle0R6OhKj3zNIBU\n Z9PI9Z+Hxw+0JHZhG8dMRKKgui6G5Y92WLE6EQ4LZIXVMwQN7ZkRPS5ch1m38YbyWd0z\n ZOEw==", "X-Gm-Message-State": "AOJu0YztkrjyKrxt/TXOxFYJUluts1CITdg1Fcz7M6+VZ8RjGFcLXnzQ\n osfT3nN9RbBeVzx5lpcRx1XfbHO2K6FAoQ==", "X-Google-Smtp-Source": "\n AGHT+IGBUhc0NEoE5B6RQ8ReoRDkxglmGNA2pmDm6c8ungHi+QU+lm85YYpN8QmRZciQjIF6SLszGg==", "X-Received": "by 2002:a17:902:b209:b0:1c5:cd1c:46fa with SMTP id\n t9-20020a170902b20900b001c5cd1c46famr27691plr.36.1695765807921;\n Tue, 26 Sep 2023 15:03:27 -0700 (PDT)", "From": "Andrew Pinski <pinskia@gmail.com>", "To": "gcc-patches@gcc.gnu.org", "Cc": "Andrew Pinski <pinskia@gmail.com>", "Subject": "[COMMITTED] Fix pr111456-1.c for targets that use unsigned char by\n default", "Date": "Tue, 26 Sep 2023 15:03:15 -0700", "Message-Id": "<20230926220314.3897436-1-pinskia@gmail.com>", "X-Mailer": "git-send-email 2.39.3", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "X-Spam-Status": "No, score=-10.7 required=5.0 tests=BAYES_00, DKIM_SIGNED,\n DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0,\n RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS,\n TXREP autolearn=ham autolearn_force=no version=3.4.6", "X-Spam-Checker-Version": "SpamAssassin 3.4.6 (2021-04-09) on\n server2.sourceware.org", "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": "This fixes the testcase to use an explicit `signed char` instead of plain `char`.\n\nCommitted as obvious after a test with a cross to powerpc64-linux-gnu and x86_64-linux-gnu.\n\ngcc/testsuite/ChangeLog:\n\n\tPR testsuite/111603\n\t* gcc.dg/tree-ssa/pr111456-1.c: Use `signed char` instead of plain `char`.\n---\n gcc/testsuite/gcc.dg/tree-ssa/pr111456-1.c | 6 +++---\n 1 file changed, 3 insertions(+), 3 deletions(-)", "diff": "diff --git a/gcc/testsuite/gcc.dg/tree-ssa/pr111456-1.c b/gcc/testsuite/gcc.dg/tree-ssa/pr111456-1.c\nindex 8a2f730b387..ffff664a1af 100644\n--- a/gcc/testsuite/gcc.dg/tree-ssa/pr111456-1.c\n+++ b/gcc/testsuite/gcc.dg/tree-ssa/pr111456-1.c\n@@ -5,14 +5,14 @@\n void foo(void);\n static int i;\n static int *j = &i;\n-static char l;\n-static void(a)(char) {}\n+static signed char l;\n+static void(a)(signed char) {}\n static short(b)(short c, short d) { return c - d; }\n static short(e)(short f, int g) {\n return f < 0 || g < 0 || g >= 32 ? f : f >> g;\n }\n static short(h)(short f, int g) { return g >= 2 ?: f >> g; }\n-static char k(char m, short n) {\n+static signed char k(signed char m, short n) {\n short o;\n int *p = &i;\n if (!(((m) >= 1) && ((m) <= 1))) {\n", "prefixes": [ "COMMITTED" ] }