Add check_effective_target_fortran_integer_16.
authorSa Liu <saliu@gcc.gnu.org>
Thu, 15 May 2008 12:57:41 +0000 (12:57 +0000)
committerSa Liu <saliu@gcc.gnu.org>
Thu, 15 May 2008 12:57:41 +0000 (12:57 +0000)
From-SVN: r135346

gcc/testsuite/lib/target-supports.exp

index 2d14dde2ad5a4bc5f1fcfdf7ccf23298717c4480..3a8a08fe1e34232f7c7268df331fb9fbc126e2b6 100644 (file)
@@ -751,6 +751,18 @@ proc check_effective_target_fortran_large_int { } {
     }]
 }
 
+# Return 1 if the target supports Fortran integer(16), 0 otherwise.
+#
+# When the target name changes, replace the cached result.
+
+proc check_effective_target_fortran_integer_16 { } {
+    return [check_no_compiler_messages fortran_integer_16 executable {
+        ! Fortran
+        integer(16) :: i
+        end
+    }]
+}
+
 # Return 1 if we can statically link libgfortran, 0 otherwise.
 #
 # When the target name changes, replace the cached result.