http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17108
Paul H. Hargrove <PHHargrove at lbl dot gov> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |PHHargrove at lbl dot gov --- Comment #7 from Paul H. Hargrove <PHHargrove at lbl dot gov> 2012-08-13 23:19:45 UTC --- FWIW: With GCC 4.8.0 20120809 the test code is fully unrolled at -O3: .L.foo: stfs 1,0(3) stfs 1,4(3) stfs 1,8(3) stfs 1,12(3) stfs 1,16(3) stfs 1,20(3) stfs 1,24(3) stfs 1,28(3) blr However, at -O2 the code shown in comment #6 is still being generated (except with different register allocations). This is true even when "-mupdate" is passed to explicitly enable store/update instructions.