------- Comment #13 from sandra at codesourcery dot com 2010-07-11 01:22 ------- Some further analysis:
The part of my PR42505 patch that made the difference was the change to estimate_register_pressure_cost in cfgloopanal.c, to make it exclude the call-clobbered registers. This part was finally committed separately in a revised version as r162043. I'm still looking into what to do about the test case and 4.5 backport. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39839