diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index 60181400d2e..54d3194ba21 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,9 @@ +2008-09-10 Tobias Burnus + H. J. Lu + + * mk-sik-inc.sh: Make -Wunused-variable proof. + * mk-srk-inc.sh: Make -Wunused-variable proof. + 2008-09-10 Tobias Burnus * mk-kinds-h.sh: Make -Wunused-variable proof. diff --git a/libgfortran/mk-sik-inc.sh b/libgfortran/mk-sik-inc.sh index 83dcb16999e..68c042f68bc 100755 --- a/libgfortran/mk-sik-inc.sh +++ b/libgfortran/mk-sik-inc.sh @@ -7,6 +7,7 @@ c=0 for k in $possible_kinds; do echo " integer (kind=$k) :: x" > tmp$$.f90 + echo " x = 1_$k" >> tmp$$.f90 echo " end" >> tmp$$.f90 if $compile -S tmp$$.f90 > /dev/null 2>&1; then kinds="$kinds $k" diff --git a/libgfortran/mk-srk-inc.sh b/libgfortran/mk-srk-inc.sh index 076c24bb5b7..10c428f02d6 100755 --- a/libgfortran/mk-srk-inc.sh +++ b/libgfortran/mk-srk-inc.sh @@ -7,6 +7,7 @@ c=0 for k in $possible_kinds; do echo " real (kind=$k) :: x" > tmp$$.f90 + echo " x = 1.0_$k" >> tmp$$.f90 echo " end" >> tmp$$.f90 if $compile -S tmp$$.f90 > /dev/null 2>&1; then kinds="$kinds $k"