------- Comment #7 from anlauf at gmx dot de 2009-11-19 22:33 ------- I tried the code on a x86 Core2 system (32 bit mode).
gfortran 4.3, 4.5: 22.74user 0.03system 0:22.82elapsed 99%CPU (0avgtext+0avgdata 0maxresident)k Intels ifort 11.1 is only ~ 5% faster, but: SunStudio 12.1: (sunf95 -fast) 11.50user 0.00system 0:11.51elapsed 99%CPU (0avgtext+0avgdata 0maxresident)k Wow, that gives a 100% improvement potential! (I added a print *, foo3(n) after the call to eval to make sure that nothing gets optimized away.) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42108