From patchwork Wed Nov 22 09:30:46 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Sandiford X-Patchwork-Id: 119441 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp6453554qgn; Wed, 22 Nov 2017 01:31:04 -0800 (PST) X-Google-Smtp-Source: AGs4zMaLEGUT4iRpU9yOC2YoTDVfwERH4YgHFczzc3CCd81KAeRSt+e9b2G0peHe0b9fZ95j5Uf2 X-Received: by 10.101.91.193 with SMTP id o1mr6390947pgr.373.1511343063939; Wed, 22 Nov 2017 01:31:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511343063; cv=none; d=google.com; s=arc-20160816; b=nFvPlxx7vV1N4fGoe1tss5iWhP7zezulDhJPo+dRkP0HPxcvs7XttIPJMI/OBxJmAL 7U9wdP/rM7IawBoOm2uqZpArBPbN1cCl2eBvOG0O/61F4UpickeBVLXbkhHkIHOkCqri QdPzIO2Zr59f1xt0GLsyMmpkEFBudh3bZCnWrTAjnSJWLlSg6NZMlgIlMrdECSBpAXE1 IS9h1g6KKfXmQisY1281e2cs8PuJveHEbcgPgyn2pfDHdmaSokLqHbkZ/j41plS7cSoW ZKeLDcPlZvk2KjHvTAyv1qjaBNP/+BiG3oJHSQQ8mEpIGuFwIdclAP0HFuL4omTI39aT FuPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:user-agent:message-id:date:subject:mail-followup-to:to :from:delivered-to:sender:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:mailing-list:dkim-signature :domainkey-signature:arc-authentication-results; bh=bjeVdwttTNDywGB6hhGS0eWZlOLZv4wL8A2jUWS0flM=; b=Iz98ifBJixsXH0wkiJ+MQao48mvY47DQIO0MkbLaWUIU+HYJIs5PoGbDShI2vj31cz jP57H9a8V7MHIEAdN9kK248dpgUbrlZ0aN3myWVJ5a8cH4AfW+R5CUnYsg2FaVNw9kWg l5iyTKi88g87mN+Glwz2JNTMGOej14s7dgRzJ8UBimTsVLCvC1qfYfDy+caLHS4RGX5d AL0Y8Br3xS5wSw/JTckJrz5iLZph3GMvAvWTskW2Kcuw9vOuAimCWr+GSXke4WUOaU2l KM2BDDyWsMfmyevhhb4Ien/6AiPToI9zqBP7+i59dLGN42B/SKRjtFGBN30A0FGENP1a qCxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=Qup6hxBP; spf=pass (google.com: domain of gcc-patches-return-467643-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=gcc-patches-return-467643-patch=linaro.org@gcc.gnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id o190si13058946pga.827.2017.11.22.01.31.03 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 22 Nov 2017 01:31:03 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-return-467643-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=Qup6hxBP; spf=pass (google.com: domain of gcc-patches-return-467643-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=gcc-patches-return-467643-patch=linaro.org@gcc.gnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:subject:date:message-id:mime-version:content-type; q=dns; s= default; b=UsW9UXgLRzjFAp2CIdRgYqCm5E4Z+rn5HA4WZIcKQmGrorkJrXxAi 4H+Lk8ZjThlW0v5H5Q6IfF7LiCLEIzjt6PGJUQoOJReC8w0Q1M8BlxEUiWTk/wPJ hzB1IfgVdJRVdN7rKG98NZotNeKzGlBtij7o3wK8EgXXflexw6dC5g= 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:from :to:subject:date:message-id:mime-version:content-type; s= default; bh=P+M+LCiI0K2HmhV/WApe2GT7A4g=; b=Qup6hxBP7WWHxhUuapBJ nZZKq4VecflxaJaeDgNuH899rG4LZnHdXFCSYgYrIS0LWlMjlnJRhWJbiilL007h knAkkwr4nPF9oep8xAL1T0IkERJ6vDot0Mxzid5q6vYJvdRXU3wXO70dtI8wI8R9 6M+hCUvEw3s/p3rbDM5AVwU= Received: (qmail 21197 invoked by alias); 22 Nov 2017 09:30:51 -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 21185 invoked by uid 89); 22 Nov 2017 09:30:51 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-11.1 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_2, GIT_PATCH_3, KAM_NUMSUBJECT, KB_WAM_FROM_NAME_SINGLEWORD, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mail-wr0-f172.google.com Received: from mail-wr0-f172.google.com (HELO mail-wr0-f172.google.com) (209.85.128.172) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 22 Nov 2017 09:30:50 +0000 Received: by mail-wr0-f172.google.com with SMTP id w95so13928731wrc.2 for ; Wed, 22 Nov 2017 01:30:49 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:mail-followup-to:subject:date:message-id :user-agent:mime-version; bh=bjeVdwttTNDywGB6hhGS0eWZlOLZv4wL8A2jUWS0flM=; b=H4b+ChHMnae0OUOa0FLvqK98OF6flM/t5Cn97fqY1b3dZg1ZDdOq0wVafLswtPExM/ s0GOwlLIt4kefHxFCpTw7RJnR5ZFWrIJSM7UvDsz+Jid7dUAtQ4MZn0b7C7q71qZOKFN mMvoN1ls55cbZGAEU8tI+buOyGBCqBcYZPCCt0HGTTDP9YLOlJVSmHQP4NFFQrz8w3oj xJqqlBBzB3Tw/Z2+JWU+D85BqlG9bkViB5ncMmLF0T5DFk6UhDLefuUE2RmNUsqAXNuF /b0MRUp77xfVCGs7jBYQvI56+o4VpL/X0S7VNsCp3/yYLXuE1b6PN8TeqwFkTdSqprOQ 8Nww== X-Gm-Message-State: AJaThX5QUTvcTkTA6qL8JCB7A4lJwEw6XobmBDffEfuG0kybkO2H+VYg zJaRRtzbu/0PMgFW7PwjUw6zZoY9xY8= X-Received: by 10.223.166.51 with SMTP id k48mr16955798wrc.125.1511343047898; Wed, 22 Nov 2017 01:30:47 -0800 (PST) Received: from localhost ([2.25.234.120]) by smtp.gmail.com with ESMTPSA id n143sm7189533wmd.31.2017.11.22.01.30.47 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 22 Nov 2017 01:30:47 -0800 (PST) From: Richard Sandiford To: gcc-patches@gcc.gnu.org Mail-Followup-To: gcc-patches@gcc.gnu.org, richard.sandiford@linaro.org Subject: PR83004: Accidental change to pr81136.c for VECTOR_BITS==128 Date: Wed, 22 Nov 2017 09:30:46 +0000 Message-ID: <8760a21wzd.fsf@linaro.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 r254589 was supposed to leave tests unchanged for the default setting of VECTOR_BITS, but I must have got my sums wrong on pr81136.c. Sorry for the breakage. Tested on aarch64-linux-gnu, x86_64-linux-gnu and powerpc64le-linux-gnu, OK to install? Richard 2017-11-22 Richard Sandiford gcc/testsuite/ PR testsuite/83004 * gcc.dg/vect/pr81136.c: Restore previous alignment of 32 in the default case. Index: gcc/testsuite/gcc.dg/vect/pr81136.c =================================================================== --- gcc/testsuite/gcc.dg/vect/pr81136.c 2017-11-22 09:21:12.538474075 +0000 +++ gcc/testsuite/gcc.dg/vect/pr81136.c 2017-11-22 09:28:04.836628929 +0000 @@ -2,7 +2,13 @@ #include "tree-vect.h" -struct __attribute__((aligned (VECTOR_BITS / 8))) +#if VECTOR_BITS > 256 +#define ALIGNMENT (VECTOR_BITS / 8) +#else +#define ALIGNMENT 32 +#endif + +struct __attribute__((aligned (ALIGNMENT))) { char misaligner; int foo[100];