From patchwork Sat Feb 5 17:29:54 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Jeff Law X-Patchwork-Id: 50837 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 C98223858431 for ; Sat, 5 Feb 2022 17:32:35 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C98223858431 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1644082355; bh=f9ZS1E9OSJNREBKwumHCbmPp8ZuAQjqtP9FYG8rq5jA=; h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=YHJohH5Wvjw0mgzFGAAnlwKOsVYk0lKKaoyqP9J+JdSEeKfTaRjddg+7mCOUwrQ+I dAZwUbVXmDKqnLry745h0eX7xpXcnPeDGA6oRaP4ZR8sgQBMgV365hk8/6iZed6TVi Z03n/nURTPZnpqanvITZAPT2uQ+YcmsBgTbygjmo= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-pj1-x1029.google.com (mail-pj1-x1029.google.com [IPv6:2607:f8b0:4864:20::1029]) by sourceware.org (Postfix) with ESMTPS id 3ADCB385842F for ; Sat, 5 Feb 2022 17:29:57 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 3ADCB385842F Received: by mail-pj1-x1029.google.com with SMTP id my12-20020a17090b4c8c00b001b528ba1cd7so9213539pjb.1 for ; Sat, 05 Feb 2022 09:29:57 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent :content-language:from:to:subject; bh=f9ZS1E9OSJNREBKwumHCbmPp8ZuAQjqtP9FYG8rq5jA=; b=c77aLN3Ed1yry/SMqTxDKF78tckLgi/RNh3vq+3dq1FDiLWQsNBGS0ydY/P6LQw5hN Z0668lAV5vaLTJVc2itsqP0aIf3CfXJUz1pmg0y5OHtay1LksChn5NFokzdmdzffxkAq b2kAlLn60RdoGGlqiwDjm4xHyuJ1qbF+ZKx1Wnx94hwvghmieEt/IKVW/yofNPQe2R0N QsJTs6mhwMwnVVycr7rR9EyUbGQS/4hiX6giQw5/uHiglV8fVVCxyA0CVtKpzNo0JGJS N6ZK481yLC40BytSi6PkRvpmzPmCzW2rioTeBuroWrFqNbQEMOaixgEw+0LHClN4/DgB 8TMg== X-Gm-Message-State: AOAM531aPie+p5ugzqYMV3Hqs+n8K7O0u1yLGWoLi/pflzAGPkYnl46k /uGhZWY3oFfSUe7z8JtXImYkx4GSCQXlsQ== X-Google-Smtp-Source: ABdhPJz3U1mFWigR8sgiu5QL37tZFe1gFs9vpnJFkE1s7fN0gWogcjO8+C2mm4ng9RP1wT2vopx5Hg== X-Received: by 2002:a17:90b:4c06:: with SMTP id na6mr9584861pjb.174.1644082195968; Sat, 05 Feb 2022 09:29:55 -0800 (PST) Received: from [172.31.0.204] (c-73-63-24-84.hsd1.ut.comcast.net. [73.63.24.84]) by smtp.gmail.com with ESMTPSA id q16sm6698701pfu.194.2022.02.05.09.29.55 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 05 Feb 2022 09:29:55 -0800 (PST) Message-ID: Date: Sat, 5 Feb 2022 10:29:54 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.5.1 Content-Language: en-US To: GCC Patches Subject: [committed] Fix expected output for s390 tests X-Spam-Status: No, score=-8.7 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, T_SCC_BODY_TEXT_LINE 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" Recent (mid Jan) changes in the diagnostic outputs have been triggering failures on the s390s testsuite.  In particular capitalization changed in one diagnostic and the range representation changed in another.  This patch makes the obvious updates so the s390 testsuite Pushed to the trunk, Jeff commit f49b8d25b1ff96e9cd09326666cc510b3a3accde Author: Jeff Law Date: Sat Feb 5 12:17:56 2022 -0500 Fix expected output for s390 tests Recent changes in diagnostic outputs have been triggering failures on the s390 testsuite. In particular, capitalization changed in one diagnostic and the range representation changed in another. This patch makes the obvious updates to the s390 testsuite. gcc/testsuite * gcc.target/s390/20150826-1.c: Update expected output. * gcc.target/s390/zvector/imm-range-error-1.c: Likewise. diff --git a/gcc/testsuite/gcc.target/s390/20150826-1.c b/gcc/testsuite/gcc.target/s390/20150826-1.c index 1567ced42e1..67a285ff367 100644 --- a/gcc/testsuite/gcc.target/s390/20150826-1.c +++ b/gcc/testsuite/gcc.target/s390/20150826-1.c @@ -9,4 +9,4 @@ int foo(void) { char b[100]; return bar(b); -} /* { dg-warning "An unconditional trap is added" } */ +} /* { dg-warning "an unconditional trap is added" } */ diff --git a/gcc/testsuite/gcc.target/s390/zvector/imm-range-error-1.c b/gcc/testsuite/gcc.target/s390/zvector/imm-range-error-1.c index 021c8d297d2..a627b5408dc 100644 --- a/gcc/testsuite/gcc.target/s390/zvector/imm-range-error-1.c +++ b/gcc/testsuite/gcc.target/s390/zvector/imm-range-error-1.c @@ -17,10 +17,10 @@ main () triggered from s390_expand_builtin. Otherwise they would come from the parser already preventing other errors from showing up. */ - __builtin_s390_vrepb (q, 17); /* { dg-error "constant argument 2 for builtin '__builtin_s390_vrepb' is out of range \\(0..15\\)" } */ - __builtin_s390_vreph (h, 8); /* { dg-error "constant argument 2 for builtin '__builtin_s390_vreph' is out of range \\(0..7\\)" } */ - __builtin_s390_vrepf (s, 4); /* { dg-error "constant argument 2 for builtin '__builtin_s390_vrepf' is out of range \\(0..3\\)" } */ - __builtin_s390_vrepg (d, 2); /* { dg-error "constant argument 2 for builtin '__builtin_s390_vrepg' is out of range \\(0..1\\)" } */ + __builtin_s390_vrepb (q, 17); /* { dg-error "constant argument 2 for builtin '__builtin_s390_vrepb' is out of range \\(0-15\\)" } */ + __builtin_s390_vreph (h, 8); /* { dg-error "constant argument 2 for builtin '__builtin_s390_vreph' is out of range \\(0-7\\)" } */ + __builtin_s390_vrepf (s, 4); /* { dg-error "constant argument 2 for builtin '__builtin_s390_vrepf' is out of range \\(0-3\\)" } */ + __builtin_s390_vrepg (d, 2); /* { dg-error "constant argument 2 for builtin '__builtin_s390_vrepg' is out of range \\(0-1\\)" } */ - __builtin_s390_vpdi (d, d, 4); /* { dg-error "constant argument 3 for builtin '__builtin_s390_vpdi' is out of range \\(0..3\\)" } */ + __builtin_s390_vpdi (d, d, 4); /* { dg-error "constant argument 3 for builtin '__builtin_s390_vpdi' is out of range \\(0-3\\)" } */ }