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.