------- Comment #5 from tkoenig at gcc dot gnu dot org 2008-01-24 22:09 -------
> This causes a regression in x_slash_1.f . I'll dig around > some more. There's something wrong here (as evidenced in the PR :-) In next_record_w, we should be following the path starting with if (done) every time, to get this right. I'm not 100% sure what length = (int) (max_pos - m); p = salloc_w (dtp->u.p.current_unit->s, &length); does when we never write to the memory pointed to by p. Maybe this is used as an idiom to mark the memory, which may have been written to earlier, as "dirty". It's horrible in any case :-) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34887