diff options
author | Tobias Burnus <burnus@net-b.de> | 2008-09-10 18:39:15 +0200 |
---|---|---|
committer | Tobias Burnus <burnus@gcc.gnu.org> | 2008-09-10 18:39:15 +0200 |
commit | b554826c78baa683c38238bed50beaa7dd4e5b87 (patch) | |
tree | 047e99a2d9f8ad840a48ab4786534fc281bf0124 | |
parent | b5d76df4c9e0270dee8ac9d5fbfb1338f9ec6717 (diff) | |
download | gcc-b554826c78baa683c38238bed50beaa7dd4e5b87.zip gcc-b554826c78baa683c38238bed50beaa7dd4e5b87.tar.gz gcc-b554826c78baa683c38238bed50beaa7dd4e5b87.tar.bz2 |
mk-kinds-h.sh: Make -Wunused-variable proof.
2008-09-10 Tobias Burnus <burnus@net-b.de>
* mk-kinds-h.sh: Make -Wunused-variable proof.
From-SVN: r140237
-rw-r--r-- | libgfortran/ChangeLog | 4 | ||||
-rwxr-xr-x | libgfortran/mk-kinds-h.sh | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index 3a0b248..6018140 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,7 @@ +2008-09-10 Tobias Burnus <burnus@net-b.de> + + * mk-kinds-h.sh: Make -Wunused-variable proof. + 2008-09-07 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/37203 diff --git a/libgfortran/mk-kinds-h.sh b/libgfortran/mk-kinds-h.sh index 6e893ff..c5d20fe 100755 --- a/libgfortran/mk-kinds-h.sh +++ b/libgfortran/mk-kinds-h.sh @@ -13,6 +13,7 @@ largest="" smallest="" for k in $possible_integer_kinds; do echo " integer (kind=$k) :: i" > tmp$$.f90 + echo " i = 1_$k" >> tmp$$.f90 echo " end" >> tmp$$.f90 if $compile -S tmp$$.f90 > /dev/null 2>&1; then s=`expr 8 \* $k` @@ -46,6 +47,7 @@ echo "" for k in $possible_real_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 case $k in |