> See http://gcc.gnu.org/ml/gcc-patches/2011-04/msg01087.html . ...
With this patch on top of revision 172429 (and the second patch for -fstack-arrays) I now get ================================================================================ Date & Time : 14 Apr 2011 20:48:24 Test Name : pbharness Compile Command : gfc %n.f90 -Ofast -funroll-loops -ftree-loop-linear -fomit-frame-pointer -finline-limit=600 -fwhole-program -flto -fstack-arrays -o %n Benchmarks : ac aermod air capacita channel doduc fatigue gas_dyn induct linpk mdbx nf protein rnflow test_fpu tfft Maximum Times : 300.0 Target Error % : 0.200 Minimum Repeats : 2 Maximum Repeats : 5 Benchmark Compile Executable Ave Run Number Estim Name (secs) (bytes) (secs) Repeats Err % --------- ------- ---------- ------- ------- ------ ac 8.12 54576 8.12 2 0.0062 aermod 178.02 1476528 18.62 2 0.1531 air 25.70 89992 6.82 5 0.5056 capacita 13.54 105440 40.10 2 0.0287 channel 3.12 34448 2.94 5 0.0849 doduc 27.50 212280 27.18 2 0.0754 fatigue 10.14 77032 2.76 4 0.1889 gas_dyn 24.89 144112 4.67 2 0.1927 induct 24.24 189696 14.22 2 0.0738 linpk 2.56 21536 21.69 2 0.0507 mdbx 9.17 84776 12.55 2 0.0120 nf 34.27 124640 18.41 4 0.1577 protein 28.37 155624 35.37 2 0.0170 rnflow 38.31 183696 26.73 2 0.0224 test_fpu 20.22 141720 10.85 2 0.0921 tfft 1.71 22072 3.29 2 0.0152 Geometric Mean Execution Time = 11.57 seconds ================================================================================ Polyhedron Benchmark Validator Copyright (C) Polyhedron Software Ltd - 2004 - All rights reserved Pretty spectacular!-) Thanks for the work. Dominique PS. for the final patch for -fstack-array, don't forget to initialize tmp.