From patchwork Sun Dec 9 18:40:52 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John David Anglin X-Patchwork-Id: 204770 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]) by ozlabs.org (Postfix) with SMTP id 4C3982C0168 for ; Mon, 10 Dec 2012 05:41:29 +1100 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1355683290; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Date: From:To:Subject:Message-ID:Reply-To:MIME-Version:Content-Type: Content-Disposition:User-Agent:Mailing-List:Precedence:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:Sender: Delivered-To; bh=PnqQmd65rqlRoG2oX3ObR41JQoY=; b=af2ypkSWGAqKuVu JOrLu8cyMKEOF+Bz15jhqd0AsInQc8CpooUoHZthyd1OgPKO8p3gaHIiVCwFT2cR G7XiNxRDD5hm9qN5aVR0Myj1FzDH7tsKi6V1rYtSmnxjExZ1Rs3JbBMOCXm9DKr9 Bxm3FawNfVfuzEY0mqg1IXdGMssI= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:Date:From:To:Subject:Message-ID:Reply-To:MIME-Version:Content-Type:Content-Disposition:User-Agent:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=WZp7FNgL8Ni2rPy1yzDxUa/X8CZtPlIex0DYidPbeklabon6kbilXdqex+d3B+ Hek8F8PzEWis5qoIoD2iqw5DTUgDYuu02CSs4Z7Qc3T4b9mv358o9eWjC6U6DgOQ 3cDs/46liwSmPkKCnhdR+zqIxp5lCLhtLno+FoeaKP7U8=; Received: (qmail 12874 invoked by alias); 9 Dec 2012 18:41:25 -0000 Received: (qmail 12741 invoked by uid 22791); 9 Dec 2012 18:41:24 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from hiauly1.hia.nrc.ca (HELO hiauly1.hia.nrc.ca) (132.246.10.84) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 09 Dec 2012 18:41:10 +0000 Received: by hiauly1.hia.nrc.ca (Postfix, from userid 1000) id 957E34CF1; Sun, 9 Dec 2012 13:40:53 -0500 (EST) Date: Sun, 9 Dec 2012 13:40:52 -0500 From: John David Anglin To: gcc-patches@gcc.gnu.org Subject: [committed] Fix gcc.misc-tests/gcov-12.c test on hpux10 Message-ID: <20121209184051.GC20144@hiauly1.hia.nrc.ca> Reply-To: John David Anglin MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.16 (2007-06-09) 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 The dg order is wrong. As a result, dg-require-weak is ignored and test fails on hpux10 which doesn't have weak. Committed to trunk. Dave Index: gcc.misc-tests/gcov-12.c =================================================================== --- gcc.misc-tests/gcov-12.c (revision 194055) +++ gcc.misc-tests/gcov-12.c (working copy) @@ -1,8 +1,8 @@ /* Test gcov weak ellision. */ +/* { dg-do run { target native } } */ +/* { dg-require-weak "" } */ /* { dg-options "-fprofile-arcs -ftest-coverage" } */ -/* { dg-require-weak "" } */ -/* { dg-do run { target native } } */ int __attribute__ ((weak)) weak () {