http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43686
--- Comment #3 from Jaak Ristioja <jaak at ristioja dot ee> 2011-06-10 09:19:49 UTC --- (In reply to comment #1) > Duplicate of PR42621? And probably a duplicate of bug 39284 also. (In reply to comment #2) > yes. It's definitely the same issue. > > The only additional note that __attribute__((hot)) doesn't fix the problem (as > I would expect tracing down optimize_bb_for_size_p()), but makes an additional > slowdown. In opposite, the __attribute__((cold)) solves the issue. It looks > very strange. > > I suppose some condition has to be inverted :) Both __attribute__((cold)) and __attribute__((hot)) have this issue with GCC 4.5.2 on my Gentoo Linux box. Neither of them solves it.