From patchwork Mon Mar 24 01:17:10 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John David Anglin X-Patchwork-Id: 332941 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 E4A612C00BE for ; Mon, 24 Mar 2014 12:17:39 +1100 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :message-id:from:to:content-type:subject:mime-version:date; q= dns; s=default; b=cMTyBBC0XWh6r32BNPjDb7+5/KLehwzUlP5tFI2R+j8NUj d/drGepuGNQUly87iSOriWbuDdbSYGWRIlBHtxjIMB0TYu4RY6RwonA/75Li+qQh ynJadUFLEgjcMmoJblPloR+GE5djm4OnjQfcjYazHfIkYDlCd+17RCW1/PqPM= 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 :message-id:from:to:content-type:subject:mime-version:date; s= default; bh=HdnK7eVm1FZgKYhhVHHiaM/gdvk=; b=tItnqUohVNr/lDec1tQq pafV5LiFtBLkOqL2gW2Wy/g/sIcPJAk8P8xeNfboWAR5H4JQv9oixcYybVYC4fW6 29Ja7swmC0VVRce4Et7aN8fSSBTjnsLF2dONaUdQe9NfymDmcpbOwstjo2RzVhHZ 2aREUC5Qi0xHUIhQ1OgPeo0= Received: (qmail 7533 invoked by alias); 24 Mar 2014 01:17:31 -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 7522 invoked by uid 89); 24 Mar 2014 01:17:30 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 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: blu0-omc3-s3.blu0.hotmail.com Received: from blu0-omc3-s3.blu0.hotmail.com (HELO blu0-omc3-s3.blu0.hotmail.com) (65.55.116.78) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 24 Mar 2014 01:17:29 +0000 Received: from BLU0-SMTP15 ([65.55.116.74]) by blu0-omc3-s3.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Sun, 23 Mar 2014 18:17:28 -0700 X-TMN: [2cWvr+BMXG7xq6+e2mfPOanCEDKfVb84] Message-ID: Received: from [192.168.2.10] ([70.26.34.41]) by BLU0-SMTP15.phx.gbl over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Sun, 23 Mar 2014 18:17:26 -0700 From: John David Anglin To: GCC Patches Subject: [committed] Fix failure of gcc.dg/tree-prof/pr59003.c on hppa*-*-hpux* MIME-Version: 1.0 (Apple Message framework v936) Date: Sun, 23 Mar 2014 21:17:10 -0400 gcc.dg/tree-prof/pr59003.c fails on hppa*-*-hpux* because of limited variable alignment when -fno-common is not specified in the options. Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. Committed to trunk. Dave --- John David Anglin dave.anglin@bell.net 2014-03-23 John David Anglin * gcc.dg/tree-prof/pr59003.c: Add -fno-common to dg-options on hppa*-*-hpux*. Index: gcc.dg/tree-prof/pr59003.c =================================================================== --- gcc.dg/tree-prof/pr59003.c (revision 208769) +++ gcc.dg/tree-prof/pr59003.c (working copy) @@ -1,6 +1,7 @@ /* PR target/59003 */ /* { dg-options "-O2" } */ /* { dg-options "-O2 -mtune=amdfam10" { target i?86-*-* x86_64-*-* } } */ +/* { dg-options "-O2 -fno-common" { target hppa*-*-hpux* } } */ __attribute__((noinline, noclone)) void * foo (void *p, unsigned int q)