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 fortran/47878] [4.6 Regression] 187.facerec miscompares


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47878

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #14 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-02-24 15:14:05 UTC ---
Or alternatively, without any fbuf.h changes, I think it could be fixed by
dropping
  char *base;

  base = fbuf_getptr (dtp->u.p.current_unit);
  if (base == NULL)
    return NULL;

lines altogether and doing

  return fbuf_getptr (dtp->u.p.current_unit) - n;
instead of
  return base;
at the end.


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