[patch] Fortran test case

Jerry D <[email protected]>
Newsgroups gmane.comp.gcc.patches,gmane.comp.gcc.fortran
Message-ID <[email protected]>
Hi all,

I plan to commit the attached obvious adjustment to allow this test to pass on 
Windows. It adjust for the CR-LF vs LF issue.

Regards.

Jerry
test-fix.diff (text/x-patch, 584 B)
diff --git a/gcc/testsuite/gfortran.dg/finalizer_recursive_alloc_2.f90 b/gcc/testsuite/gfortran.dg/finalizer_recursive_alloc_2.f90
index 6e9edff59d5..317c03c359b 100644
--- a/gcc/testsuite/gfortran.dg/finalizer_recursive_alloc_2.f90
+++ b/gcc/testsuite/gfortran.dg/finalizer_recursive_alloc_2.f90
@@ -1,5 +1,5 @@
 ! { dg-do run }
-! { dg-output " finalizing id\\s+0\\n finalizing id\\s+1\\n finalizer count =\\s+2\\n" }
+! { dg-output " finalizing id\\s+0\(\r*\n+) finalizing id\\s+1\(\r*\n+) finalizer count =\\s+2\(\r*\n+)" }
 ! PR fortran/90519
 
 module pr90519_finalizer_run_mod
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.