------- Comment #8 from rguenth at gcc dot gnu dot org 2010-01-02 11:18 ------- You may also want to try -fsched-pressure -fschedule-insns which is new in GCC 4.5 and might decrease register pressure (no idea if it ever moves things into loops though - the haifa scheduler might not consider it a region to work on).
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39839