diff options
author | Sa Liu <saliu@gcc.gnu.org> | 2008-05-15 12:57:41 +0000 |
---|---|---|
committer | Sa Liu <saliu@gcc.gnu.org> | 2008-05-15 12:57:41 +0000 |
commit | c129abb4070b4980936bab3e926ddc188c620960 (patch) | |
tree | ca7f7b017a2cb40195587c7b1200954029148d6b | |
parent | 7ba20e60ebde65ad615ab4249cb251200791ec47 (diff) | |
download | gcc-c129abb4070b4980936bab3e926ddc188c620960.zip gcc-c129abb4070b4980936bab3e926ddc188c620960.tar.gz gcc-c129abb4070b4980936bab3e926ddc188c620960.tar.bz2 |
Add check_effective_target_fortran_integer_16.
From-SVN: r135346
-rw-r--r-- | gcc/testsuite/lib/target-supports.exp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp index 2d14dde..3a8a08f 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. |