From patchwork Sun Jan 21 19:26:18 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John David Anglin X-Patchwork-Id: 864089 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-471767-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.b="igaYU+qT"; dkim-atps=neutral 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 3zPl121Gsqz9s9Y for ; Mon, 22 Jan 2018 06:26:29 +1100 (AEDT) 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; q=dns; s=default; b=xxXCAMfqdO2THSIuxy337vd0RL1rPNj0F1+IA5+DVjw3xGus2F 1zuO5Q1tSNfffJvd5LhsbboCMVxe6HxC2QrJ/PGUolZCxLiQJJ8rs/Gryz0pcWrD LhDGBDgBfMo2Ffg4IZcy1DQCsoqsjOpUVqXVyyUFQms0ZGDFasdbuTO/U= 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; s= default; bh=662dpYd8C7IlRb8g64CQEqAQslg=; b=igaYU+qTg6kJBN12Afiv JPg05ZC4JwDf1R2MfGOrcw+qEJOxs515wzKwfgzYOMPV2rImuJXypqeJB5UJdCvo p5msqZqQG8juULN+zIuigBI0FSr/ScksNqXNZJlLbQLbWgTCuzijSjS3KOzjrFQB Kx8bXstJVh0UfKNiiD3UWf4= Received: (qmail 9585 invoked by alias); 21 Jan 2018 19:26:22 -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 9572 invoked by uid 89); 21 Jan 2018 19:26:22 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-11.4 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_2, GIT_PATCH_3, KAM_ASCII_DIVIDERS, RCVD_IN_DNSWL_LOW, SPF_PASS, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.2 spammy=256889, pr83621.c, UD:pr83621.c, pr83621c X-HELO: torfep01.bell.net Received: from simcoe207srvr.owm.bell.net (HELO torfep01.bell.net) (184.150.200.207) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 21 Jan 2018 19:26:21 +0000 Received: from bell.net torfep01 184.150.200.158 by torfep01.bell.net with ESMTP id <20180121192619.IEXI3030.torfep01.bell.net@torspm02.bell.net> for ; Sun, 21 Jan 2018 14:26:19 -0500 Received: from [192.168.2.49] (really [70.31.74.127]) by torspm02.bell.net with ESMTP id <20180121192619.TDGK31064.torspm02.bell.net@[192.168.2.49]>; Sun, 21 Jan 2018 14:26:19 -0500 To: gcc-patches@gcc.gnu.org From: John David Anglin Subject: [committed] hppa: Fix alignment test failures on hppa-hpux Message-ID: <5A64E95A.1060605@bell.net> Date: Sun, 21 Jan 2018 14:26:18 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 The following patch fixes a few test failures on hpux due to the limited alignment of common. Tested on hppa64-hp-hpux11.11. Committed to trunk. Dave Index: gcc.dg/pr83621.c =================================================================== --- gcc.dg/pr83621.c (revision 256889) +++ gcc.dg/pr83621.c (working copy) @@ -1,6 +1,7 @@ /* PR debug/83621 */ /* { dg-do compile } */ /* { dg-options "-O -g" } */ +/* { dg-additional-options "-fno-common" { target hppa*-*-hpux* } } */ typedef int __attribute__ ((__vector_size__ (64))) V; V v; Index: gcc.dg/pr83623.c =================================================================== --- gcc.dg/pr83623.c (revision 256889) +++ gcc.dg/pr83623.c (working copy) @@ -2,6 +2,7 @@ /* { dg-do compile } */ /* { dg-options "-O2" } */ /* { dg-additional-options "-mmovbe" { target i?86-*-* x86_64-*-* } } */ +/* { dg-additional-options "-fno-common" { target hppa*-*-hpux* } } */ unsigned short __attribute__ ((__vector_size__ (16))) x; Index: gcc.dg/pr83666.c =================================================================== --- gcc.dg/pr83666.c (revision 256889) +++ gcc.dg/pr83666.c (working copy) @@ -1,6 +1,7 @@ /* PR debug/83666 */ /* { dg-do compile } */ /* { dg-options "-O2 -g --param=sccvn-max-scc-size=10 -Wno-psabi" } */ +/* { dg-additional-options "-fno-common" { target hppa*-*-hpux* } } */ typedef int __attribute__ ((vector_size (64))) V;