Fix scan pattern in gfortran.dg/implied_do_io_1.f90
authorTom de Vries <tom@codesourcery.com>
Thu, 2 Nov 2017 08:00:49 +0000 (08:00 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Thu, 2 Nov 2017 08:00:49 +0000 (08:00 +0000)
2017-11-02  Tom de Vries  <tom@codesourcery.com>

* gfortran.dg/implied_do_io_1.f90: Fix scan-tree-dump-times pattern.

From-SVN: r254336

gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/implied_do_io_1.f90

index eba8154..8046bb1 100644 (file)
@@ -1,3 +1,7 @@
+2017-11-02  Tom de Vries  <tom@codesourcery.com>
+
+       * gfortran.dg/implied_do_io_1.f90: Fix scan-tree-dump-times pattern.
+
 2017-11-01  Jakub Jelinek  <jakub@redhat.com>
 
        PR rtl-optimization/82778
index e4a6d6b..aef36af 100644 (file)
@@ -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" } }