]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR libfortran/20163 ([4.0 only] gfortran - error opening direct access file)
authorThomas Koenig <Thomas.Koenig@online.de>
Sat, 9 Apr 2005 19:40:48 +0000 (19:40 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Sat, 9 Apr 2005 19:40:48 +0000 (19:40 +0000)
2005-04-09  Thomas Koenig  <Thomas.Koenig@online.de>

        PR libfortran/20163
        * gfortran.dg/open-options-blanks.f:  New test.

From-SVN: r97924

gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/open-options-blanks.f [new file with mode: 0644]

index 0d2afe783b7753f05c9094126b89443bbdb66843..fe7b88ea7ac6e9a05830e2f4ee8937ab86021d28 100644 (file)
@@ -1,3 +1,8 @@
+2005-04-09  Thomas Koenig  <Thomas.Koenig@online.de>
+
+       PR libfortran/20163
+       * gfortran.dg/open-options-blanks.f:  New test.
+
 2005-04-09  Andrew Pinski  <pinskia@physics.uc.edu>
 
        PR fortran/13257
diff --git a/gcc/testsuite/gfortran.dg/open-options-blanks.f b/gcc/testsuite/gfortran.dg/open-options-blanks.f
new file mode 100644 (file)
index 0000000..8f5faa4
--- /dev/null
@@ -0,0 +1,7 @@
+! { dg-do run }
+! PR 20163, first half:  Trailing blanks on an option to
+!                        open used to cause an error
+      CHARACTER*8 ST
+      ST = 'SCRATCH '
+      OPEN(UNIT=10,STATUS=ST)
+      END