------- Comment #11 from jvdelisle at gcc dot gnu dot org 2008-01-24 07:03 ------- Created an attachment (id=15014) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15014&action=view) Preliminary patch
This patch illustrates the fix. What remains is to check cases of all other I/O (formatted, sequential, stream, etc) with this situation of "zero length" arrays -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34876