http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47694
--- Comment #8 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-02-14 21:58:30 UTC --- Created attachment 23344 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23344 Hackish brute-force patch The attached patch fixes the issue by calling in read_sf fbuf_read once per single character. I think that's the only proper solution, though the way it is currently handled is surely slow - and the patch is not nicely written. Janne and/or Jerry, could you have a look?