This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libfortran/34887] reverse tabbing before slash descriptor (regression vs. g77)



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]