]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
mk-sik-inc.sh: Make -Wunused-variable proof.
authorTobias Burnus <burnus@net-b.de>
Wed, 10 Sep 2008 17:18:08 +0000 (19:18 +0200)
committerTobias Burnus <burnus@gcc.gnu.org>
Wed, 10 Sep 2008 17:18:08 +0000 (19:18 +0200)
2008-09-10  Tobias Burnus  <burnus@net-b.de>
            H. J. Lu  <hongjiu.lu@intel.com>

        * mk-sik-inc.sh: Make -Wunused-variable proof.
        * mk-srk-inc.sh: Make -Wunused-variable proof.

Co-Authored-By: H.J. Lu <hongjiu.lu@intel.com>
From-SVN: r140239

libgfortran/ChangeLog
libgfortran/mk-sik-inc.sh
libgfortran/mk-srk-inc.sh

index 60181400d2ebf57fd62271025283be453b4b900b..54d3194ba21636df92700c8f54cf730158d8cbcb 100644 (file)
@@ -1,3 +1,9 @@
+2008-09-10  Tobias Burnus  <burnus@net-b.de>
+           H. J. Lu  <hongjiu.lu@intel.com>
+
+       * mk-sik-inc.sh: Make -Wunused-variable proof.
+       * mk-srk-inc.sh: Make -Wunused-variable proof.
+
 2008-09-10  Tobias Burnus  <burnus@net-b.de>
 
        * mk-kinds-h.sh: Make -Wunused-variable proof.
index 83dcb16999efd66fc9de67fe8671529e09102ef2..68c042f68bca03b3989cd6000df5e942cc75a0ab 100755 (executable)
@@ -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"
index 076c24bb5b7847cd7fc66c53935623af6117bc20..10c428f02d6642b6893f8f349e0a08b0497f6f07 100755 (executable)
@@ -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"