{"id":833249,"url":"http://patchwork.ozlabs.org/api/1.2/patches/833249/?format=json","web_url":"http://patchwork.ozlabs.org/project/gcc/patch/8671c861-6eee-97a4-a8f6-2f6f20a7c5ce@mentor.com/","project":{"id":17,"url":"http://patchwork.ozlabs.org/api/1.2/projects/17/?format=json","name":"GNU Compiler Collection","link_name":"gcc","list_id":"gcc-patches.gcc.gnu.org","list_email":"gcc-patches@gcc.gnu.org","web_url":null,"scm_url":null,"webscm_url":null,"list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<8671c861-6eee-97a4-a8f6-2f6f20a7c5ce@mentor.com>","list_archive_url":null,"date":"2017-11-02T08:25:40","name":"[testsuite,committed] Fix scan pattern in gfortran.dg/implied_do_io_1.f90","commit_ref":null,"pull_url":null,"state":"new","archived":false,"hash":"8192fd92f71348ba80b254ab5a4d99470adbcc43","submitter":{"id":9225,"url":"http://patchwork.ozlabs.org/api/1.2/people/9225/?format=json","name":"Tom de Vries","email":"Tom_deVries@mentor.com"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/gcc/patch/8671c861-6eee-97a4-a8f6-2f6f20a7c5ce@mentor.com/mbox/","series":[{"id":11453,"url":"http://patchwork.ozlabs.org/api/1.2/series/11453/?format=json","web_url":"http://patchwork.ozlabs.org/project/gcc/list/?series=11453","date":"2017-11-02T08:25:40","name":"[testsuite,committed] Fix scan pattern in gfortran.dg/implied_do_io_1.f90","version":1,"mbox":"http://patchwork.ozlabs.org/series/11453/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/833249/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/833249/checks/","tags":{},"related":[],"headers":{"Return-Path":"<gcc-patches-return-465712-incoming=patchwork.ozlabs.org@gcc.gnu.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":["patchwork-incoming@bilbo.ozlabs.org","mailing list gcc-patches@gcc.gnu.org"],"Authentication-Results":["ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org\n\t(client-ip=209.132.180.131; helo=sourceware.org;\n\tenvelope-from=gcc-patches-return-465712-incoming=patchwork.ozlabs.org@gcc.gnu.org;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (1024-bit key;\n\tunprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org\n\theader.b=\"ZQ3bgAl2\"; dkim-atps=neutral","sourceware.org; auth=none"],"Received":["from sourceware.org (server1.sourceware.org [209.132.180.131])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3ySJ845LC3z9t2f\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu,  2 Nov 2017 19:26:11 +1100 (AEDT)","(qmail 23194 invoked by alias); 2 Nov 2017 08:25:56 -0000","(qmail 22947 invoked by uid 89); 2 Nov 2017 08:25:55 -0000","from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131)\n\tby sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with\n\tESMTP; Thu, 02 Nov 2017 08:25:53 +0000","from nat-ies.mentorg.com ([192.94.31.2]\n\thelo=SVR-IES-MBX-04.mgc.mentorg.com)\tby relay1.mentorg.com\n\twith esmtps (TLSv1.2:ECDHE-RSA-AES256-SHA384:256)\tid\n\t1eAAou-0001B9-HS from Tom_deVries@mentor.com ;\n\tThu, 02 Nov 2017 01:25:48 -0700","from [127.0.0.1] (137.202.0.87) by SVR-IES-MBX-04.mgc.mentorg.com\n\t(139.181.222.4) with Microsoft SMTP Server (TLS) id\n\t15.0.1320.4; Thu, 2 Nov 2017 08:25:43 +0000"],"DomainKey-Signature":"a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id\n\t:list-unsubscribe:list-archive:list-post:list-help:sender\n\t:subject:to:cc:references:from:message-id:date:mime-version\n\t:in-reply-to:content-type; q=dns; s=default; b=x0zCwNdG9UharlgaA\n\tgkdEwHVUvv1+Ez2Fe0PfTHYJ4kpxWhqqWhX+cqQoMHlupkRRBpD1bEP4bpovaJpX\n\tilRed2ygVfiasPpvR+9C0Xvo9LwU8JKM1kVtxHZhE+UVHMvyVus+MaAwnk5HjTU+\n\tEIDAjX0oIMvY23hrCZh1D6A/LY=","DKIM-Signature":"v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id\n\t:list-unsubscribe:list-archive:list-post:list-help:sender\n\t:subject:to:cc:references:from:message-id:date:mime-version\n\t:in-reply-to:content-type; s=default; bh=H4f9MTcsWT0qUBwj/BMo5hp\n\tvEbg=; b=ZQ3bgAl2oVt9qY34PagOfJ5y+mXeBP31WpA+GcCDl03OYJhOKzub+Y9\n\t0ynRDH7dXmOjmaEs57oLdwV866FvgDarnoQCHOv7EOdQg696YTIrcnmZs3pnRMrp\n\tYzBuWgqI+sDwtMLjNySJWBcDx6VEDcTqcre2k/ejpw7YAFPTIdd4=","Mailing-List":"contact gcc-patches-help@gcc.gnu.org; run by ezmlm","Precedence":"bulk","List-Id":"<gcc-patches.gcc.gnu.org>","List-Unsubscribe":"<mailto:gcc-patches-unsubscribe-incoming=patchwork.ozlabs.org@gcc.gnu.org>","List-Archive":"<http://gcc.gnu.org/ml/gcc-patches/>","List-Post":"<mailto:gcc-patches@gcc.gnu.org>","List-Help":"<mailto:gcc-patches-help@gcc.gnu.org>","Sender":"gcc-patches-owner@gcc.gnu.org","X-Virus-Found":"No","X-Spam-SWARE-Status":"No, score=-24.7 required=5.0 tests=AWL, BAYES_00,\n\tGIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3,\n\tRCVD_IN_DNSWL_NONE, SPF_PASS,\n\tURIBL_RED autolearn=ham version=3.3.2 spammy=nicolas, Nicolas,\n\ttom, Tom","X-Spam-User":"qpsmtpd, 2 recipients","X-HELO":"relay1.mentorg.com","Subject":"[testsuite,\n\tcommitted] Fix scan pattern in gfortran.dg/implied_do_io_1.f90","To":"Nicolas Koenig <koenigni@student.ethz.ch>, =?utf-8?q?Dominique_d=27Hum?=\n\t=?utf-8?b?acOocmVz?= <dominiq@lps.ens.fr>","CC":"Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>,\n\tgfortran\t<fortran@gcc.gnu.org>, gcc-patches <gcc-patches@gcc.gnu.org>","References":"<92F638BD-768E-4C83-9BA9-0FACFC7F6C07@lps.ens.fr>\n\t<53722520-52ae-0fa7-d732-f30995c9f93a@student.ethz.ch>\n\t<BA409A07-2700-4F8C-B8EA-6093D1B7C4F4@gmail.com>\n\t<A6B37DB3-F797-4B44-BCBF-E7AB83BFC11F@lps.ens.fr>\n\t<638D5570-F9B9-4522-A123-CDC0B95D4227@lps.ens.fr>\n\t<84e2e0b8-26d2-bf0c-35ae-dd8f63a111fe@student.ethz.ch>\n\t<ADF94D00-F826-4741-9A5D-C01BB485F768@lps.ens.fr>\n\t<28B2EA4E-59C0-4E78-B04B-ECAD49EB614B@lps.ens.fr>\n\t<2E75B017-9A43-4734-BF38-8FA7A69962B8@lps.ens.fr>\n\t<ce3115b3-0123-2fc6-a390-ee3318e35e60@student.ethz.ch>","From":"Tom de Vries <Tom_deVries@mentor.com>","Message-ID":"<8671c861-6eee-97a4-a8f6-2f6f20a7c5ce@mentor.com>","Date":"Thu, 2 Nov 2017 09:25:40 +0100","User-Agent":"Mozilla/5.0 (X11; Linux x86_64;\n\trv:52.0) Gecko/20100101 Thunderbird/52.3.0","MIME-Version":"1.0","In-Reply-To":"<ce3115b3-0123-2fc6-a390-ee3318e35e60@student.ethz.ch>","Content-Type":"multipart/mixed;\n\tboundary=\"------------A2A49A1A5B0C985A85DF2BFC\"","X-ClientProxiedBy":"svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) To\n\tSVR-IES-MBX-04.mgc.mentorg.com (139.181.222.4)"},"content":"[ was: Re: [Patch, fortran] PR35339 Optimize implied do loops in io \nstatements ]\n\nOn 06/03/2017 03:48 PM, Nicolas Koenig wrote:\n> ! { dg-final { scan-tree-dump-times \"while\" 7 \"original\" } }\n\n\nHi,\n\nI build and tested gcc in a directory with \"while\" in the path. That \nmade this scan fail (with 25 matches, instead of 7), because the dump \ncontains lines with <parm>.common.filename = &\"<path>\".\n\nFixed by making the scan more precise.\n\nCommitted as obvious.\n\nThanks,\n- Tom","diff":"Fix scan pattern in gfortran.dg/implied_do_io_1.f90\n\n2017-11-02  Tom de Vries  <tom@codesourcery.com>\n\n\t* gfortran.dg/implied_do_io_1.f90: Fix scan-tree-dump-times pattern.\n\n---\n gcc/testsuite/gfortran.dg/implied_do_io_1.f90 | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)\n\ndiff --git a/gcc/testsuite/gfortran.dg/implied_do_io_1.f90 b/gcc/testsuite/gfortran.dg/implied_do_io_1.f90\nindex e4a6d6b..aef36af 100644\n--- a/gcc/testsuite/gfortran.dg/implied_do_io_1.f90\n+++ b/gcc/testsuite/gfortran.dg/implied_do_io_1.f90\n@@ -56,4 +56,4 @@ program main\n 1000 format (A2,100I4)\n end program main\n \n-! { dg-final { scan-tree-dump-times \"while\" 7 \"original\" } }\n+! { dg-final { scan-tree-dump-times \"(?n)^\\\\s*while \\\\(1\\\\)$\" 7 \"original\" } }\n","prefixes":["testsuite","committed"]}