http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43829
--- Comment #45 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2011-10-09 16:01:27 UTC --- > Thanks. One comment: I think you will increase the binary size by inlining the > reduction. Could you consider keeping the current libgfortran version and > protecting the scalarization by > if (!optimize_size) When compiling the test in comment #43 with -O2, the size of the a.out file is [macbook] f90/bug% ll a.out -rwxr-xr-x 1 dominiq staff 17752 Oct 9 17:55 a.out* with -Os it is [macbook] f90/bug% ll a.out -rwxr-xr-x 1 dominiq staff 30216 Oct 9 17:54 a.out* Are these numbers misleading, or once again compiling for size does not give the smallest size?