Add check_effective_target_fortran_integer_16.
authorsaliu <saliu@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 15 May 2008 12:57:41 +0000 (12:57 +0000)
committersaliu <saliu@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 15 May 2008 12:57:41 +0000 (12:57 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@135346 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/lib/target-supports.exp

index 2d14dde..3a8a08f 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.