From patchwork Thu Jul 15 16:39:26 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tamar Christina X-Patchwork-Id: 1505790 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=8.43.85.97; helo=sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.a=rsa-sha256 header.s=default header.b=psQrt7zv; dkim-atps=neutral Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4GQg8Z3KGPz9sPf for ; Fri, 16 Jul 2021 02:40:14 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 4D5F33989C09 for ; Thu, 15 Jul 2021 16:40:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4D5F33989C09 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1626367212; bh=4bW9jI5aKnskDmHnYFOiktLZYFu0frtz6YVVCejQ1Bo=; h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=psQrt7zvQx5dsgOhbX67KIuI5c+OiZZ0Rh49Gy7KvI9Ka8n2mK98NvG5RR8rhnvQn IiAX2TrvF3T5cxJMx7vydYNQUpH5RFVLT6YO3+79vDbZHXSvsKjb/UKkj6tb4NIZKl GrVIQZ7SJJQVMCHu13pfEiOUcdqTrlQ47Yxo3yCc= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2067.outbound.protection.outlook.com [40.107.22.67]) by sourceware.org (Postfix) with ESMTPS id 873C8385DC02 for ; Thu, 15 Jul 2021 16:39:48 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 873C8385DC02 Received: from AM5PR1001CA0034.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:206:2::47) by DBBPR08MB6156.eurprd08.prod.outlook.com (2603:10a6:10:20b::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4308.22; Thu, 15 Jul 2021 16:39:46 +0000 Received: from AM5EUR03FT024.eop-EUR03.prod.protection.outlook.com (2603:10a6:206:2:cafe::63) by AM5PR1001CA0034.outlook.office365.com (2603:10a6:206:2::47) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4331.23 via Frontend Transport; Thu, 15 Jul 2021 16:39:46 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; gcc.gnu.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;gcc.gnu.org; dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM5EUR03FT024.mail.protection.outlook.com (10.152.16.175) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4331.21 via Frontend Transport; Thu, 15 Jul 2021 16:39:46 +0000 Received: ("Tessian outbound b269bca6e298:v99"); Thu, 15 Jul 2021 16:39:46 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: ce7ecf996a8fd39f X-CR-MTA-TID: 64aa7808 Received: from 9971b5c0ed0d.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id C53A4E58-3E24-4C09-A8F9-7AA31BD11FF5.1; Thu, 15 Jul 2021 16:39:35 +0000 Received: from EUR04-DB3-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 9971b5c0ed0d.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 15 Jul 2021 16:39:35 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eoxOn9TBzV0zGrsnMmrNjzigDbVj9Yp8C8bdje4qDzjtPtVHLcavb/t0yIblP0h/T3vklVFG0dArppEi8Imp4943HMTpApN2OFga8fPbCfYu2F5xviBX8LbZSFIcMvWah213iO/cWC/UIKkowYVAi0/WTU0pWmWdnqxpfHWk8xE2dYgEAlikMjGq09pZXcwM7XFiV8c9cl45mUtSKlNEawbdlTRwWrV6fN1bBXcbC7FvAaUn+hM7GMDHOe2Y0VuNgWcP6y5PgFuPDoOVXocmEfpQAg4VDzke5MmLsTal+sZV92n0JN5Wd9RrUNJnSZbPTCaK58mrSh4Fzh3yLLaFMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=4bW9jI5aKnskDmHnYFOiktLZYFu0frtz6YVVCejQ1Bo=; b=LrO3QdsrqY0SKtyDT3Gksi2fHFg3XAMD5XTKO9x2nvDN4KqCotlaRr6sKpJyW08JnJ6Yi08WOv70Fl5/pPzitg+eYCYUCVKYcMkTIhNPAzR2C4cPOGFY7IOH/QTox2i70YmoiIeTdj5aJQatLYDJ25ctS8njFZMyNN/JErGTaYsbF/oFfsIXUP9rl83Cb9poKf2a7kll79ySD4s9hMwuKM+xNtMgWDy6giqPbNCJsTWQYDjd9Jks41N+/fq8JyPLCd8pGnGpsSSDSqSAcYfEWKITxpFY2HnINwVOTdSwOZHsN2kEpfTkEex2wmLVslhTjtlKodclYrVjIP02aCklkQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none Authentication-Results-Original: gcc.gnu.org; dkim=none (message not signed) header.d=none;gcc.gnu.org; dmarc=none action=none header.from=arm.com; Received: from VI1PR08MB5325.eurprd08.prod.outlook.com (2603:10a6:803:13e::17) by VI1PR0801MB1727.eurprd08.prod.outlook.com (2603:10a6:800:5a::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4308.25; Thu, 15 Jul 2021 16:39:32 +0000 Received: from VI1PR08MB5325.eurprd08.prod.outlook.com ([fe80::cdbb:a6b9:e814:19c7]) by VI1PR08MB5325.eurprd08.prod.outlook.com ([fe80::cdbb:a6b9:e814:19c7%7]) with mapi id 15.20.4331.021; Thu, 15 Jul 2021 16:39:32 +0000 Date: Thu, 15 Jul 2021 17:39:26 +0100 To: gcc-patches@gcc.gnu.org Subject: [PATCH 1/4][committed] testsuite: Fix testisms in scalar tests PR101457 Message-ID: Content-Disposition: inline User-Agent: Mutt/1.9.4 (2018-02-28) X-ClientProxiedBy: SA9PR13CA0048.namprd13.prod.outlook.com (2603:10b6:806:22::23) To VI1PR08MB5325.eurprd08.prod.outlook.com (2603:10a6:803:13e::17) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from arm.com (217.140.106.51) by SA9PR13CA0048.namprd13.prod.outlook.com (2603:10b6:806:22::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4352.11 via Frontend Transport; Thu, 15 Jul 2021 16:39:31 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 7c471627-1107-43a4-e3a1-08d947af2811 X-MS-TrafficTypeDiagnostic: VI1PR0801MB1727:|DBBPR08MB6156: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:6108;OLM:6108; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: KQyJqIAPajHX+CDQFmCDH3lR3kTUHgJvgPWFYcgiWKb2ga2SOS6HYWAm960XNjDDLK3AliTXi1Ts3FqS1Wnj6bFafbQEBXqdwW929/oGXJzw1JtlDOBGYp54+lDm92aEEvTlr6zuy1kQWNqmS0zlpckX7iPB3H+/G3+DE0PaXGLVEipUpKqU1yXSuMXjYPVS/M8DsT/3MCTi3ch9ZJxgPsIThW/PWeq6LaKbv2U4fJjudB2D7hhm6vEEiSChDGn+LUc/jwtls/WebFG26DoUBLHF0ON2Utc+Ia2jK4jOx8k2Yn1XCdADoUGQyK2CSUmre9TTuhntpFJJtK9nyiDdQEYWyZx/r1MYwUoaN4v740Xz0TR75rwqxzkS0sSD3tqQuK+oLdU9U/KuX9+QfJFL619Roes5LAZprv5H563izuEgEwOTyFOtCvEwXHT+OKwjp+9gHlGl2t9o/82O/QkarPAsVRikEoq5HbDM4N092q5zoybbQGgr4iOfdZTv8AvvHGXVYLUiRXjiOjzhqw6fxo5eg3WTCUDRYgMnSW0KcCXHeto1rQSrnB+v3sJTJLWufII3BxL+RzjRt8bYkfRhDhGkj01J/+JK4aMNAQnjTDVcNMYJvHE/V9R1nBElFDgm1IMvu3l41Sm+BIwstVTZLbGfQnxBun6n/GhXxwLTC9/BBM+eteafOq0+FHf1oxtOJTjs9ebzzI2ZODhvSQQZj9JC2lMoMlz01wBMRcRgofZ/HnLRQR/Kkox2m+uKdwmqVbf7XVYu1d89i5WDgJap00q9gmS72EzNs3ffM91lzX1jMuhp7kfSfnQw/uoMoFtefaw6avXdAv0wI0vzXs5j8PAfgdVoRcTKP0qA20odFkgRtp8XTlEjTZ3jyWfA3NDB X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR08MB5325.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(376002)(39830400003)(396003)(136003)(346002)(186003)(2906002)(5660300002)(55016002)(4743002)(8676002)(36756003)(478600001)(6916009)(26005)(52116002)(66556008)(7696005)(66616009)(86362001)(8886007)(8936002)(235185007)(44832011)(4326008)(66476007)(33964004)(316002)(6666004)(66946007)(956004)(38100700002)(44144004)(2616005)(38350700002)(4216001)(2700100001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?x3i2cyUe0iASYls9DisSif8dlBCQ?= =?utf-8?q?Pav/uemVzFhdinrb/083puCV7V2Mntqt4q4Vnn6/wSbRR9nt6SbG7VwH/FrkpFqpO?= =?utf-8?q?94eBEDM0l/yt6itQ1syTzc1Gj9v11K8jXudhxM+xdCdP0RMZax6Vyuj087VNl354J?= =?utf-8?q?9SSUZfr7q04IOHuzPLEItJWBDn720DzpGhrdaHlW7riRcKhPrTgYsKtLurLHrVIfG?= =?utf-8?q?nK+i97O8roYsp5xgSvwx0tTsA+fVBhmfu2GWbSHH90IeUPhMRcCbR2C6QBib9WPpf?= =?utf-8?q?lP1ibXpS+vNS0CCXVLbuUzBY41qtkfy3jttgVxKrUYeHK+XfYsbod1xZmEUOAx/Lh?= =?utf-8?q?vk+po+H8dw5hJ//ET6KWQc8HqjK3KYnv21eaBSOiyw9DiGdIhyFCImDMgtPGmWOwf?= =?utf-8?q?W2zSiodHu5rXHW3Sblc/63mYKYg/HLrrkTghDRvwaM20TvAz3obU6wxro7ZvRdhg8?= =?utf-8?q?fQg+ynHwO8oCFqyAidiP1MKftedE7xnEWMZWpygUT+cWWbG09L5x5AHIF564WIEYp?= =?utf-8?q?rchjQf/fvdxD4yO/wyzyoRSoHQumpEsbQzPgTTogHJ4kzH/bxzElC4nzMfJO89/Us?= =?utf-8?q?J+bTUA8gmKF02t9r5I2jAB3KGQ1lp2b9DdT/8o1EHjNOTaIOPhRL7TPgZKJaCTMXi?= =?utf-8?q?vL9ff/rxH6XAYC8ijdQjiJVzBmLWakymu06ugxX8PTauLLHdk0wyp4bc2IZ+OonSA?= =?utf-8?q?NAo+KXsZK60yGS2P1c1vjjpBbBOK4C7a94iuW2yMNQ7cfg80ZTChqk+FOeco+3TiF?= =?utf-8?q?7Rflv9boNnYv/rUF/ndwDBoz82ASByAdzb/+unyP7VtvyqrBrNi3ghlpfQpL44ZeF?= =?utf-8?q?UG3gaogPUVV2bFcSIRSJHYgaQbVsAv7q212n7z/GMAPhzXkS35fnDgmb5vqUEVYAw?= =?utf-8?q?6wpfs/v75i4hXdLJlDODbOkdIFd3prwjaHWG8P+AQrh8nhSK7wNcd1pydS3XJd6RD?= =?utf-8?q?NJKQtk1D5iJxv3w0tRn8VLyiwrv1v+5IxK1h7WTNvhgQa8FZvqr99fLLPOFZQequO?= =?utf-8?q?1dm1g4wK8BX5s0ekN+RT2ZrSDnkbjUVa3sG5JR2iiOMK8vUafZhl5H74PYee8PyYH?= =?utf-8?q?37QRX/eLF32dy/ApX6ORLfPdYDi+b+lY4QvtVucmQpYRkc5gr5GTVMp/nCGt919yZ?= =?utf-8?q?PRJ1g+j7glMKy8d2f5woD6P5sX/J6ZpsscNm5WENdSTzP56W9FByL4HRfMJE7LUGC?= =?utf-8?q?jnhycphAbiSskYZnd4GVUnLvmKQkOO3bj76TfWBCiK0tAlNigrmkl0Tr0U+I6ASWK?= =?utf-8?q?3OXN+Nb8HI6H2V2y?= X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0801MB1727 Original-Authentication-Results: gcc.gnu.org; dkim=none (message not signed) header.d=none;gcc.gnu.org; dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT024.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 4207687f-769d-4bd7-b3cc-08d947af1f90 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Kffq2CtgVO/6uDaec8KwOZix82LeAOmmlPFpVU0ds4wkgjli3GBn1KUDSwD3IrNC1e+BOcGxWHmYXyu98iEXVwgYFDvjJw3/wWqZ9ePzk7QWVfR8GnIyh9I7TvLIo4FJC73/HfD9TBY3jzRH77lSirBczwAhbkwDQQMDr4uWHoDIPXSPqeIAb64LtR7OGalhH2HIyX8+0kDoxDSfDc++L68oq5LjiwLG5pTmOc3wTWWc9AjnfZvNqqznh0cW5frwEVp/LdNOrjpxNKYDO/Hvz6sNXVteFLFUICFuUzcyUrJFL6jAtNrUttKFe7pQNnbUpsff6uYV5p+A/ltGRxwr9SEnfTPV3Z2+P5ozyvlFU/aDQkT7etL6FwYmQ7PXrcsejr3H7KVggFaZyzcGnus6eKKfbVKNWhlrZhwGAfz5vmahRbGhiizV/LMLFepOelruIFBRTV7XX+jRLdmdoHJbh8QL0c/O3RQZL/Xlqt/Q50T+wcXYs92MHnZ10u6tc9SJuNU0eU2TJvvu53iQahOGpZT17XSCfsQp73UUy4ubgNnw4/ksz1rddmgfFgSXAep0LWVRCqeCPF6S2fa5ixUQ/3W/nHEzrIs3iCX6WKrT69am1zvxna3u4VBQyWkRvPwofdZ40rcOfwfrSh9vt9bR/c67t4FY+td4S15um91B60Xw+tR2eys0hGjR9nqs4oBlnLgYWvDBM1x1b/5S0eZu9C2VrVb0U7GsKZQugcNlfXFO5/lM2lEQQZ9F38tugfz7UCALmf27U+AWgpAqqa/GFrsWi2LdqIS/+qBCmlyGbbsYwOUstUdEjxni4gSBFY0qKBT98WYNmzEFIbnEV8wfBRv0Jyq5aB4kDhhRVUYgYCFi272n4SQajKEGFprwG/Uy X-Forefront-Antispam-Report: CIP:63.35.35.123; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:64aa7808-outbound-1.mta.getcheckrecipient.com; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; CAT:NONE; SFS:(4636009)(136003)(39860400002)(346002)(376002)(396003)(46966006)(36840700001)(4326008)(235185007)(44144004)(2616005)(44832011)(8886007)(316002)(86362001)(36860700001)(82740400003)(8936002)(336012)(6916009)(186003)(36756003)(26005)(8676002)(82310400003)(6666004)(478600001)(81166007)(356005)(956004)(70206006)(47076005)(2906002)(55016002)(5660300002)(70586007)(7696005)(66616009)(4743002)(33964004)(4216001)(2700100001); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Jul 2021 16:39:46.6136 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 7c471627-1107-43a4-e3a1-08d947af2811 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: AM5EUR03FT024.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR08MB6156 X-Spam-Status: No, score=-13.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, GIT_PATCH_0, KAM_LOTSOFHASH, KAM_NUMSUBJECT, MSGID_FROM_MTA_HEADER, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS, TXREP, UNPARSEABLE_RELAY 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: Tamar Christina via Gcc-patches From: Tamar Christina Reply-To: Tamar Christina Cc: richard.sandiford@arm.com, nd@arm.com Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org Sender: "Gcc-patches" Hi All, These testcases accidentally contain the wrong signs for the expected values for the scalar code. The vector code however is correct. Bootstrapped Regtested on aarch64-none-linux-gnu and no issues. Committed as a trivial fix. Thanks, Tamar gcc/testsuite/ChangeLog: PR middle-end/101457 * gcc.dg/vect/vect-reduc-dot-17.c: Fix signs of scalar code. * gcc.dg/vect/vect-reduc-dot-18.c: Likewise. * gcc.dg/vect/vect-reduc-dot-22.c: Likewise. * gcc.dg/vect/vect-reduc-dot-9.c: Likewise. --- inline copy of patch -- diff --git a/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-17.c b/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-17.c index aa269c4d657f65e07e36df7f3fd0098cf3aaf4d0..38f86fe458adcc7ebbbae22f5cc1e720928f2d48 100644 diff --git a/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-17.c b/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-17.c index aa269c4d657f65e07e36df7f3fd0098cf3aaf4d0..38f86fe458adcc7ebbbae22f5cc1e720928f2d48 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-17.c +++ b/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-17.c @@ -35,8 +35,9 @@ main (void) { check_vect (); - SIGNEDNESS_3 char a[N], b[N]; - int expected = 0x12345; + SIGNEDNESS_3 char a[N]; + SIGNEDNESS_4 char b[N]; + SIGNEDNESS_1 int expected = 0x12345; for (int i = 0; i < N; ++i) { a[i] = BASE + i * 5; diff --git a/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-18.c b/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-18.c index 2b1cc0411c3256ccd876d8b4da18ce4881dc0af9..2e86ebe3c6c6a0da9ac242868592f30028ed2155 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-18.c +++ b/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-18.c @@ -35,8 +35,9 @@ main (void) { check_vect (); - SIGNEDNESS_3 char a[N], b[N]; - int expected = 0x12345; + SIGNEDNESS_3 char a[N]; + SIGNEDNESS_4 char b[N]; + SIGNEDNESS_1 int expected = 0x12345; for (int i = 0; i < N; ++i) { a[i] = BASE + i * 5; diff --git a/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-22.c b/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-22.c index febeb19784c6aaca72dc0871af0d32cc91fa6ea2..0bde43a6cb855ce5edd9015ebf34ca226353d77e 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-22.c +++ b/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-22.c @@ -37,7 +37,7 @@ main (void) SIGNEDNESS_3 char a[N]; SIGNEDNESS_4 short b[N]; - int expected = 0x12345; + SIGNEDNESS_1 long expected = 0x12345; for (int i = 0; i < N; ++i) { a[i] = BASE + i * 5; diff --git a/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-9.c b/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-9.c index cbbeedec3bfd0810a8ce8036e6670585d9334924..d1049c96bf1febfc8933622e292b44cc8dd129cc 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-9.c +++ b/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-9.c @@ -35,8 +35,9 @@ main (void) { check_vect (); - SIGNEDNESS_3 char a[N], b[N]; - int expected = 0x12345; + SIGNEDNESS_3 char a[N]; + SIGNEDNESS_4 char b[N]; + SIGNEDNESS_1 int expected = 0x12345; for (int i = 0; i < N; ++i) { a[i] = BASE + i * 5;