http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45810
--- Comment #10 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2010-09-30 17:28:19 UTC --- (In reply to comment #8) > Using -fno-inline-functions, the program recovers the speed of the no-LTO > version. This does not work on powerpc-apple-darwin9: [karma] lin/test% gfc -Ofast -funroll-loops -fwhole-program -g fatigue.f90 [karma] lin/test% time a.out > /dev/null 15.942u 0.052s 0:16.54 96.6% 0+0k 2+1io 40pf+0w [karma] lin/test% gfc -Ofast -funroll-loops -fwhole-program -g -flto fatigue.f90 [karma] lin/test% time a.out > /dev/null 20.330u 0.063s 0:21.06 96.8% 0+0k 0+2io 0pf+0w [karma] lin/test% gfc -Ofast -funroll-loops -fwhole-program -g -flto -fno-inline-functions fatigue.f90 [karma] lin/test% time a.out > /dev/null 20.678u 0.063s 0:21.33 97.1% 0+0k 0+2io 0pf+0w [karma] lin/test% gfc -Ofast -funroll-loops -fwhole-program -g -flto -finline-limit=600 fatigue.f90 [karma] lin/test% time a.out > /dev/null 10.903u 0.036s 0:11.30 96.7% 0+0k 0+2io 0pf+0w