This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/34887] reverse tabbing before slash descriptor (regression vs. g77)
- From: "tkoenig at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Jan 2008 22:09:08 -0000
- Subject: [Bug libfortran/34887] reverse tabbing before slash descriptor (regression vs. g77)
- References: <bug-34887-10743@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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