From patchwork Sun Sep 16 16:49:11 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: 184132 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 4AD8E2C0082 for ; Mon, 17 Sep 2012 02:49:41 +1000 (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=1348418982; 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=03UPb6MenkoK2uT7NGSJ89Ivw2I=; b=f7VksFxa7nk/Z4X F+rNomE/A4KXeyPLdprv53nSxdXXAFt+Fp+qFpK7rwGGNm+wpabOwt6iVXYLm9q0 a/7wYnZodJTIoZCGL43+CX9Jb2fUC34ZAReMAcgBkbf82o63oSpczZs0g5esJjBs dCymWRv9rwtDb29+efYoUVpL4rQ0= 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=WzUL6vHLlr+WDKCcrWrqxMVi7nJ4SD0aWJq2fb3CWhE9MIGr5h3LdqQ4ChT3E8 M5AzF76rWIBG3HHIjvFWLMidTYQt73CIvM6jvaUIy+cfilhjZjDDrUXDB2r6gB9O vfGTNR8r2J75n3fSZhtUHtDjiuTEd/RuOTgaKgkir/OfU=; Received: (qmail 26620 invoked by alias); 16 Sep 2012 16:49:36 -0000 Received: (qmail 26611 invoked by uid 22791); 16 Sep 2012 16:49:34 -0000 X-SWARE-Spam-Status: No, hits=-2.2 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, 16 Sep 2012 16:49:13 +0000 Received: by hiauly1.hia.nrc.ca (Postfix, from userid 1000) id 7F4C84ED7; Sun, 16 Sep 2012 12:49:12 -0400 (EDT) Date: Sun, 16 Sep 2012 12:49:11 -0400 From: John David Anglin To: gcc-patches@gcc.gnu.org Subject: [committed] Adjust scan assembler check in gfortran.dg/bind_c_array_params_2.f90 for hppa*-*-hpux* Message-ID: <20120916164911.GA27412@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 This fixes the assembler scan on hppa*-*-hpux*. Tested on hppa2.0w-hp-hpux11 and hppa64-hp-hpux11.11. Committed to trunk. Dave Index: gfortran.dg/bind_c_array_params_2.f90 =================================================================== --- gfortran.dg/bind_c_array_params_2.f90 (revision 191314) +++ gfortran.dg/bind_c_array_params_2.f90 (working copy) @@ -15,6 +15,7 @@ call test(aa) end -! { dg-final { scan-assembler-times "myBindC" 1 } } +! { dg-final { scan-assembler-times "myBindC" 1 { target { ! { hppa*-*-hpux* } } } } } +! { dg-final { scan-assembler-times "myBindC,%r2" 1 { target { hppa*-*-hpux* } } } } ! { dg-final { scan-tree-dump-times "test \\\(&parm\\." 1 "original" } } ! { dg-final { cleanup-tree-dump "original" } }