From 30d124e1e6c41c7f08651e9551d702627d2bb5fd Mon Sep 17 00:00:00 2001 From: Tom de Vries Date: Thu, 2 Nov 2017 08:00:49 +0000 Subject: [PATCH] Fix scan pattern in gfortran.dg/implied_do_io_1.f90 2017-11-02 Tom de Vries * gfortran.dg/implied_do_io_1.f90: Fix scan-tree-dump-times pattern. From-SVN: r254336 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gfortran.dg/implied_do_io_1.f90 | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index eba8154804f..8046bb17f9f 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2017-11-02 Tom de Vries + + * gfortran.dg/implied_do_io_1.f90: Fix scan-tree-dump-times pattern. + 2017-11-01 Jakub Jelinek PR rtl-optimization/82778 diff --git a/gcc/testsuite/gfortran.dg/implied_do_io_1.f90 b/gcc/testsuite/gfortran.dg/implied_do_io_1.f90 index e4a6d6b37b3..aef36af13eb 100644 --- a/gcc/testsuite/gfortran.dg/implied_do_io_1.f90 +++ b/gcc/testsuite/gfortran.dg/implied_do_io_1.f90 @@ -56,4 +56,4 @@ program main 1000 format (A2,100I4) end program main -! { dg-final { scan-tree-dump-times "while" 7 "original" } } +! { dg-final { scan-tree-dump-times "(?n)^\\s*while \\(1\\)$" 7 "original" } } -- 2.30.2