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 eba8154804f5af39e9ce02f2bf0687a72503191e..8046bb17f9f12cb98757a23c051ed9eb4411bb5f 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 e4a6d6b37b3752d51c245499a17dfc78ade71025..aef36af13ebdea738f4772ab0a8d5daaf49e7446 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" } }