From: Sa Liu Date: Thu, 15 May 2008 12:57:41 +0000 (+0000) Subject: Add check_effective_target_fortran_integer_16. X-Git-Tag: releases/gcc-4.4.0~4954 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c129abb4070b4980936bab3e926ddc188c620960;p=thirdparty%2Fgcc.git Add check_effective_target_fortran_integer_16. From-SVN: r135346 --- diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp index 2d14dde2ad5a..3a8a08fe1e34 100644 --- a/gcc/testsuite/lib/target-supports.exp +++ b/gcc/testsuite/lib/target-supports.exp @@ -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.