2004-08-13 Bud Davis <bdavis9659@comcast.net>
PR gfortran/13965
* gfortran.fortran-torture/execute/open_rewind.f90: New test.
* io/open.c (st_open): use flags instead of the unit structure.
From-SVN: r85966
+2004-08-13 Bud Davis <bdavis9659@comcast.net>
+
+ * gfortran.fortran-torture/execute/open_rewind.f90: New test.
+
2004-08-13 Janis Johnson <janis187@us.ibm.com>
* g++.dg/ext/altivec-2.C: Revert previous changes and don't execute.
--- /dev/null
+! { dg-do run }
+! pr16935
+! segfault at run time on open statement
+ program bug2
+ implicit none
+ open( 1 , file = "str_500.txt", position = "REWIND" )
+ end
+2004-08-13 Bud Davis <bdavis9659@comcast.net>
+
+ PR gfortran/13965
+ * io/open.c (st_open): use flags instead of the unit structure.
+
2004-08-10 Victor Leikehman <lei@il.ibm.com>
* io/list_read.c (namelist_read): Convert variable names
if (ioparm.unit < 0)
generate_error (ERROR_BAD_OPTION, "Bad unit number in OPEN statement");
- if (flags.position != POSITION_UNSPECIFIED &&
- u->flags.access == ACCESS_DIRECT)
+ if (flags.position != POSITION_UNSPECIFIED
+ && flags.access == ACCESS_DIRECT)
generate_error (ERROR_BAD_OPTION,
"Cannot use POSITION with direct access files");