------- Comment #2 from dmitry at zend dot com 2010-04-08 13:54 ------- 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 :) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43686