http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34940
--- Comment #14 from Jan Hubicka <hubicka at ucw dot cz> 2010-11-10 23:05:25 UTC --- > Note that the IO block escapes and thus cannot be coalesced with others in > the same function. I had a frontend patch to re-use the same IO struct > across multiple calls but that was rejected on the grounds of future > implementation of async IO. I think inline heuristics ignore this fact and just assume overlap across sibling calls that gets inlined. Not terribly realistic but not terribly bad either.