------- Comment #2 from pinskia at gcc dot gnu dot org 2006-03-04 20:47 ------- Actually I take this back. This can happen though it should not happen at all unless your /bin/sh is going bonkers. possible_real_kinds="4 8 10 16" for k in $possible_real_kinds; do case $k in 4) ctype="float" ;; 8) ctype="double" ;; 10) ctype="long double" ;; 16) ctype="long double" ;; *) echo "$0: Unknown type" >&2 ; exit 1 ;; esac largest_ctype="$ctype" ... case $largest_ctype in float) echo "#define GFC_REAL_LARGEST_FORMAT \"\"" ;; double) echo "#define GFC_REAL_LARGEST_FORMAT \"l\"" ;; "long double") echo "#define GFC_REAL_LARGEST_FORMAT \"L\"" ;; *) echo "$0: Unknown type" >&2 ; exit 1 ;; esac
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26564