This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/47878] [4.6 Regression] 187.facerec miscompares
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 24 Feb 2011 15:14:30 +0000
- Subject: [Bug fortran/47878] [4.6 Regression] 187.facerec miscompares
- Auto-submitted: auto-generated
- References: <bug-47878-4@http.gcc.gnu.org/bugzilla/>
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.