[Bug fortran/18891] write with no open causes core dump

2004-12-08 Thread sje at cup dot hp dot com
--- Additional Comments From sje at cup dot hp dot com 2004-12-08 18:47 --- I did some more digging and found that my program was dying in us_write (io/transfer.c) at the line containing '*p = 0;'. I think the problem is one of alignment. p is a pointer to gfc_offset, which is off_t, w

[Bug fortran/18891] write with no open causes core dump

2004-12-08 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-08 18:08 --- Hmm, this works for me on ppc-darwin with a compiler built yesterday. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18891