]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
mk-kinds-h.sh: Make -Wunused-variable proof.
authorTobias Burnus <burnus@net-b.de>
Wed, 10 Sep 2008 16:39:15 +0000 (18:39 +0200)
committerTobias Burnus <burnus@gcc.gnu.org>
Wed, 10 Sep 2008 16:39:15 +0000 (18:39 +0200)
2008-09-10  Tobias Burnus  <burnus@net-b.de>

       * mk-kinds-h.sh: Make -Wunused-variable proof.

From-SVN: r140237

libgfortran/ChangeLog
libgfortran/mk-kinds-h.sh

index 3a0b248353231c79bfe5e3719f720358181af45a..60181400d2ebf57fd62271025283be453b4b900b 100644 (file)
@@ -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
index 6e893ff5ee73e7e0b72c6873f8c0638837c89a78..c5d20fe12c5c6b443d8f485b83ffa79e50655769 100755 (executable)
@@ -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