(Report initially found at http://groups.google.com/group/comp.lang.fortran/browse_frm/thread/f9d7753cad4d9708/37f0d91ea07e38a1?tvc=1#37f0d91ea07e38a1 and http://groups.google.com/group/comp.lang.fortran/browse_frm/thread/f9d7753cad4d9708/37f0d91ea07e38a1?tvc=1#37f0d91ea07e38a1) When configured with CFLAGS=-pipe and FFLAGS=-pipe, kinds.h contains: #define GFC_REAL_4_HUGE f instead of: #define GFC_REAL_4_HUGE 3.40282347e38f Somehow, mk-kinds-h.sh doesn't run well when the compiler is invoked with -pipe. I haven't tested this myself, but it most probably is target-independent.
I think I understand why this happens...
See http://gcc.gnu.org/ml/fortran/2008-01/msg00067.html
Subject: Bug 34669 Author: burnus Date: Wed Jan 16 09:13:39 2008 New Revision: 131567 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=131567 Log: 2008-01-16 Steven Bosscher <steven@gcc.gnu.org> PR libfortran/34669 * mk-kinds-h.sh: Compile with -S to avoid calling the assembler, to avoid piping the -fdump-parse-tree output to the assembler when configuring with -pipe. * mk-sik-inc.sh: Likewise. * mk-srk-inc.sh: Likewise. Modified: trunk/libgfortran/ChangeLog trunk/libgfortran/mk-kinds-h.sh trunk/libgfortran/mk-sik-inc.sh trunk/libgfortran/mk-srk-inc.sh
FIXED on the trunk (4.3.0).