[Bug fortran/47878] [4.6 Regression] 187.facerec miscompares
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Feb 24 15:39:00 GMT 2011
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.
More information about the Gcc-bugs
mailing list