From patchwork Tue Oct 5 15:24:44 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeff Law X-Patchwork-Id: 45898 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 5E06D385AC3A for ; Tue, 5 Oct 2021 15:26:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5E06D385AC3A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1633447563; bh=2LWgEYgw/e95GgrA7XLfhLjXMNEk5rkOPzhwNplLGkg=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=opZDqApiTGbgDO3VcdUxiuDxmSpN0Z9+TPQXtawP5DmO7S7ZcXsvCFeHzPnYvTLF/ nVQ+PBySUVc1qDFx0METn0FyIFd+10fDpyY534PjYqJu2swWe1ghNA1nuMvKe24Zai W9aVGMtPRQOS1LAs3Wx5RJTtnNCsknCrPe4+5tn4= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-qk1-x72b.google.com (mail-qk1-x72b.google.com [IPv6:2607:f8b0:4864:20::72b]) by sourceware.org (Postfix) with ESMTPS id E345B385B80B for ; Tue, 5 Oct 2021 15:24:46 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org E345B385B80B Received: by mail-qk1-x72b.google.com with SMTP id q125so1174636qkd.12 for ; Tue, 05 Oct 2021 08:24:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-language; bh=2LWgEYgw/e95GgrA7XLfhLjXMNEk5rkOPzhwNplLGkg=; b=a1z4O/snjr3ifmCarlxQBEPT6iv4Xsrg5KoJhF2ghvhd+mSSOGr01pX+ULnuN0dCWM MqioviLGL5hKGit+4mTkzeqlMB2Q5ARfXdSt02O29y2zKhZwxPhm3v2iJrbZvBbhETw+ VYhkj9npSF+aGFL1TgdY5TEdyVQUpADaI7WlS+TZsBL5hDfIp+HOhtpct5Yfb7hUDhUK s9GSQ8uokBXawXxsMTjiPxPDwoIeAz7posWlCRyPchsxQN2mHM+fb2+eLjHJbR6cMaoK cvP05OWpq7+qSOIjDXeu0GNM5XjwO7pjM4ynLniO6/k2mznsz3X6ASNjRBqwRxDXpMQE d2Xw== X-Gm-Message-State: AOAM5323q/ASVNQ60TKoQDUlRTpVIxiA32plfcbAz2KUJayV5yC8Towk 20WTZC6KxjwM3HSe+IZix/v2VbhelvY= X-Google-Smtp-Source: ABdhPJxh7RC2Wqy0S36qjkGFC0C6H22azd6qpys2vGyHNbFoSW60HMEI6Pi+0goDD0OHPsqGvyZh8A== X-Received: by 2002:ae9:ea19:: with SMTP id f25mr15250031qkg.341.1633447486259; Tue, 05 Oct 2021 08:24:46 -0700 (PDT) Received: from [172.31.0.175] (c-98-202-48-222.hsd1.ut.comcast.net. [98.202.48.222]) by smtp.gmail.com with ESMTPSA id a3sm9639393qkh.67.2021.10.05.08.24.45 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 05 Oct 2021 08:24:45 -0700 (PDT) To: GCC Patches Subject: [committed] Fix s390 test to have pointer type for computed goto Message-ID: <57546e8a-897a-01c3-d19e-b4f18c1c30b3@gmail.com> Date: Tue, 5 Oct 2021 09:24:44 -0600 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 Content-Language: en-US X-Spam-Status: No, score=-8.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, KAM_SHORT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Jeff Law via Gcc-patches From: Jeff Law Reply-To: Jeff Law Errors-To: gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org Sender: "Gcc-patches" More minor fallout from Andrew's work. Committed to the trunk. Jeff commit f9e6f20f280daf74763cf3fe21f3c211d3d04620 Author: Jeff Law Date: Tue Oct 5 11:15:02 2021 -0400 Fix s390 test to have pointer type for computed goto gcc/testsuite * gcc.target/s390/pr80725.c: Ensure computed goto is used on a pointer type. diff --git a/gcc/testsuite/gcc.target/s390/pr80725.c b/gcc/testsuite/gcc.target/s390/pr80725.c index 4a402c41422..d556e6ba7ca 100644 --- a/gcc/testsuite/gcc.target/s390/pr80725.c +++ b/gcc/testsuite/gcc.target/s390/pr80725.c @@ -18,7 +18,7 @@ foo (int x, int y) while (a < x) { if (y) - goto *d; + goto *(void *)d; g = b | b + g; bar (g); c = (char) (long) foo;