From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13213 invoked by alias); 7 Aug 2014 18:12:24 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 13201 invoked by uid 89); 7 Aug 2014 18:12:24 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,MSGID_FROM_MTA_HEADER,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 X-HELO: BLU004-OMC3S3.hotmail.com Received: from blu004-omc3s3.hotmail.com (HELO BLU004-OMC3S3.hotmail.com) (65.55.116.78) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA256 encrypted) ESMTPS; Thu, 07 Aug 2014 18:12:23 +0000 Received: from BLU436-SMTP56 ([65.55.116.74]) by BLU004-OMC3S3.hotmail.com with Microsoft SMTPSVC(7.5.7601.22712); Thu, 7 Aug 2014 11:12:21 -0700 X-TMN: [YYK4I+plQVPSUMw2SqzrN3+aEjdNQRZN] Message-ID: Received: from [192.168.2.16] ([70.26.30.52]) by smtphm.sympatico.ca over TLS secured channel with Microsoft SMTPSVC(8.0.9200.16384); Thu, 7 Aug 2014 11:12:20 -0700 From: John David Anglin To: GCC Patches Content-Type: multipart/mixed; boundary="Apple-Mail-5--368805153" Subject: [committed] Fix alignment in gcc.dg/pr57233.c and c-c++-common/pr50459.c on hppa*-*-hpux* MIME-Version: 1.0 (Apple Message framework v936) Date: Thu, 07 Aug 2014 18:12:00 -0000 X-SW-Source: 2014-08/txt/msg00833.txt.bz2 --Apple-Mail-5--368805153 Content-Type: text/plain; charset="US-ASCII"; format=flowed Content-Transfer-Encoding: 7bit Content-length: 176 Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. Both hunks committed to trunk. First hunk committed to 4.9 branch. Dave -- John David Anglin dave.anglin@bell.net --Apple-Mail-5--368805153 Content-Disposition: attachment; filename="p1.d.txt" Content-Type: text/plain; x-unix-mode=0644; name="p1.d.txt" Content-Transfer-Encoding: 7bit Content-length: 1098 2014-08-07 John David Anglin * gcc.dg/pr57233.c: Add -fno-common option on hppa*-*-hpux*. * c-c++-common/pr50459.c: Likewise. Index: gcc.dg/pr57233.c =================================================================== --- gcc.dg/pr57233.c (revision 213683) +++ gcc.dg/pr57233.c (working copy) @@ -1,6 +1,7 @@ /* PR tree-optimization/57233 */ /* { dg-do run { target { ilp32 || lp64 } } } */ /* { dg-options "-O2" } */ +/* { dg-additional-options "-fno-common" { target hppa*-*-hpux* } } */ typedef unsigned V4 __attribute__((vector_size(4 * sizeof (int)))); typedef unsigned V8 __attribute__((vector_size(8 * sizeof (int)))); Index: c-c++-common/pr50459.c =================================================================== --- c-c++-common/pr50459.c (revision 213683) +++ c-c++-common/pr50459.c (working copy) @@ -1,6 +1,7 @@ /* PR c/50459 */ /* { dg-do compile } */ /* { dg-options "-Wall -Wextra" } */ +/* { dg-additional-options "-fno-common" { target hppa*-*-hpux* } } */ enum { A = 128, B = 1 }; void *fn1 (void) __attribute__((assume_aligned (A))); --Apple-Mail-5--368805153--