From patchwork Tue Nov 22 14:10:35 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Georg-Johann Lay X-Patchwork-Id: 697732 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3tNS7P01Pnz9srZ for ; Wed, 23 Nov 2016 01:11:11 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="xsKR/+4C"; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:to :from:subject:message-id:date:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=iuGWRUqM+etMkh+u gMGASt1yt2pfbE4xSTMvKAx17cmutVDehpBjtFDvpZRNnyg1UETh9sBF2QRIIpw4 1R7Wo6ZKcdnvHcPWiexTuirHHPHM+Y+X+tNx6F5aToAjVESLs3S540uAdrNcMcHg sEartbttx9xEh/u1r06qP/YiKuI= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:to :from:subject:message-id:date:mime-version:content-type :content-transfer-encoding; s=default; bh=NuuyrDfxXF+7mWNPZ1Fsk4 /04Z4=; b=xsKR/+4Cmpf9z01GFVxTOgqO3saE5MuLBoH1CcZv/YP0uxbyAA3FJk /IBjMCG9klLNqk+2ubrpOzYnJNbIJY/AsO7TWdmrUG7sYiCQ0Gw9Zsvv50uBcwF8 bWhaPtXnAhR9EyuMhrTR7vPWRyA7EC1UiSRX5wghPBkOspa+AeQWY= Received: (qmail 117811 invoked by alias); 22 Nov 2016 14:10:59 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 117602 invoked by uid 89); 22 Nov 2016 14:10:50 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 spammy= X-HELO: mo4-p00-ob.smtp.rzone.de Received: from mo4-p00-ob.smtp.rzone.de (HELO mo4-p00-ob.smtp.rzone.de) (81.169.146.163) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 22 Nov 2016 14:10:39 +0000 X-RZG-AUTH: :LXoWVUeid/7A29J/hMvvT3ol15ykJcYwR/bcHRirORRW3yMcVao= X-RZG-CLASS-ID: mo00 Received: from [192.168.0.123] (mail.hightec-rt.com [213.135.1.215]) by smtp.strato.de (RZmta 39.9 DYNA|AUTH) with ESMTPSA id m00d74sAMEAaCMP (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate) for ; Tue, 22 Nov 2016 15:10:36 +0100 (CET) To: gcc-patches From: Georg-Johann Lay Subject: [testsuite,committed]: Fix a test that assumed int is 32 bits. Message-ID: <558e4adc-fb45-837c-16a4-0cb0f8232ed9@gjlay.de> Date: Tue, 22 Nov 2016 15:10:35 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 X-IsSubscribed: yes Committed as obvious because the test case is clearly about a vector of 4 * int. Johann gcc/testsuite/ * c-c++-common/builtin-shuffle-1.c (V): Use 4 * int in vector. Index: c-c++-common/builtin-shuffle-1.c =================================================================== --- c-c++-common/builtin-shuffle-1.c (revision 242541) +++ c-c++-common/builtin-shuffle-1.c (working copy) @@ -1,7 +1,7 @@ /* PR c++/78089 */ /* { dg-do run } */ -typedef int V __attribute__((vector_size (16))); +typedef int V __attribute__((vector_size (4 * __SIZEOF_INT__))); V a, b, c; int