https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105361

--- Comment #11 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
(In reply to Thomas Schwinge from comment #9)
> In some of my test runs (have not yet been able to deduce any pattern), I'm
> seeing this new test case FAIL its execution test:
> 

Can you try this minor change to the test case? I confirmed that this change
gives the failure on un-patched gfortran on (linux-x86-64) and passes on latest
trunk (linux-x86-64).

diff --git a/gcc/testsuite/gfortran.dg/pr105361.f90
b/gcc/testsuite/gfortran.dg/pr105361.f90
index e2d3b07caca..62821c2802d 100644
--- a/gcc/testsuite/gfortran.dg/pr105361.f90
+++ b/gcc/testsuite/gfortran.dg/pr105361.f90
@@ -27,7 +27,7 @@ program main
   type(foo) :: a, b
   real :: c, d
   open(10, access="stream") 
-  write(10) "1 2" ! // NEW_LINE('A')
+  write(10) "1 2" // NEW_LINE('A')
   close(10)
   open(10)
   read(10,*) c, d

Reply via email to