This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/43829] Scalarization of reductions
- From: "dominiq at lps dot ens.fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 09 Oct 2011 16:01:27 +0000
- Subject: [Bug fortran/43829] Scalarization of reductions
- Auto-submitted: auto-generated
- References: <bug-43829-4@http.gcc.gnu.org/bugzilla/>
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?