From patchwork Mon Mar 20 17:30:41 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Violeta Menendez Gonzalez X-Patchwork-Id: 741096 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 3vn2zL2qTqz9s0m for ; Tue, 21 Mar 2017 04:30:54 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="odtQtruP"; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:subject:message-id:mime-version:content-type; q=dns; s= default; b=g9pH+hfHaeo7IdT+GB9evBKxy0kxUi+xH6E4mIN9NWp5YHiYQI54M aQqtr5Ve4/oKstDZE2EKLMiIUWBLgSl3IX/s7KNuqo7ZTS5Dkh1GXu4B8Yba+mdM eDPiD2J5VwqUbxM2pC9qGSytDj95zp2+0gmVNGa7imOdVu733hi/AM= 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:date :from:to:subject:message-id:mime-version:content-type; s= default; bh=r8JwwtjJFY4X2EJJ6kxf3w1Ik9k=; b=odtQtruPpLSg3T5H4oVk hih0HOyfmbatpR9Pny2p1OafRXQ+xqXE3wxx8SLDQe90g5Z2ome87seQDe8r7+2s dz5ShkZMyaWsujdSNVhEV9cIAOvPLJPgCvm+LmG5XOqNN3Dr5sx416V+zu3l2Dc0 cixhsEo3cJZYFye9WcXwaGE= Received: (qmail 101732 invoked by alias); 20 Mar 2017 17:30:46 -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 101719 invoked by uid 89); 20 Mar 2017 17:30:45 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-23.8 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KAM_COUK, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 spammy=regex, periods, parm, UD:co.uk X-HELO: imap0.codethink.co.uk Received: from imap0.codethink.co.uk (HELO imap0.codethink.co.uk) (185.43.218.159) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 20 Mar 2017 17:30:44 +0000 Received: from imap1.codethink.co.uk ([176.9.8.82]) by imap0.codethink.co.uk with esmtps (Exim 4.84_2 #1 (Debian)) id 1cq18k-00027j-QG for ; Mon, 20 Mar 2017 17:30:43 +0000 Received: from 82-70-136-246.dsl.in-addr.zen.co.uk ([82.70.136.246] helo=gunter.codethink.co.uk) by imap1.codethink.co.uk with esmtpsa (Exim 4.84_2 #1 (Debian)) id 1cq18k-0007JD-Cx for ; Mon, 20 Mar 2017 17:30:42 +0000 Date: Mon, 20 Mar 2017 17:30:41 +0000 From: Violeta Menendez Gonzalez To: "gcc-patches@gcc.gnu.org" Subject: [PATCH] Fix regex for assembly test on AIX PowerPC Message-ID: <20170320173041.777e36ef@gunter.codethink.co.uk> MIME-Version: 1.0 X-IsSubscribed: yes Hi, I've tested this with GCC 7.0 on powerpc-ibm-aix7.2.0.0 This test adds periods as a valid character for symbol names. Periods are allowed in symbol names but I am unsure if they have a special meaning at the beginning of a name that changes the meaning of this test. Currently my GFortran is generating `bl .myBindC` (branch with link) and I can't find any reasons why this would be wrong, but I also can't find a reason why the GFortran is adding this period here. Testing in x86_64 I get `call myBindC`. 2017-03-20 Violeta Menendez Gonzalez * gfortran.dg/bind_c_array_params_2.f90: Allow symbol names to contain periods. diff --git a/gcc/testsuite/gfortran.dg/bind_c_array_params_2.f90 b/gcc/testsuite/gfortran.dg/bind_c_array_params_2.f90 index e749958..3418893 100644 --- a/gcc/testsuite/gfortran.dg/bind_c_array_params_2.f90 +++ b/gcc/testsuite/gfortran.dg/bind_c_array_params_2.f90 @@ -16,7 +16,7 @@ integer :: aa(4,4) call test(aa) end -! { dg-final { scan-assembler-times "\[ \t\]\[$,_0-9\]*myBindC" 1 { target { ! { hppa*-*-* s390*-*-* } } } } } +! { dg-final { scan-assembler-times "\[ \t\]\[$.,_0-9\]*myBindC" 1 { target { ! { hppa*-*-* s390*-*-* } } } } } ! { dg-final { scan-assembler-times "myBindC,%r2" 1 { target { hppa*-*-* } } } } ! { dg-final { scan-assembler-times "brasl\t%r\[0-9\]*,myBindC" 1 { target { s390*-*-* } } } } ! { dg-final { scan-tree-dump-times "test \\\(&parm\\." 1 "original" } }