diff options
Diffstat (limited to 'gcc/testsuite/lib/target-supports.exp')
-rw-r--r-- | gcc/testsuite/lib/target-supports.exp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp index 0fb135c5298..0905821587b 100644 --- a/gcc/testsuite/lib/target-supports.exp +++ b/gcc/testsuite/lib/target-supports.exp @@ -226,6 +226,12 @@ proc check_weak_available { } { return 1 } + # All AIX targets should support it + + if { [istarget *-*-aix*] } { + return 1 + } + # All solaris2 targets should support it if { [istarget *-*-solaris2*] } { @@ -1723,6 +1729,15 @@ proc check_effective_target_x32 { } { }] } +# Return 1 if we're generating 32-bit integers using default +# options, 0 otherwise. + +proc check_effective_target_int32 { } { + return [check_no_compiler_messages int32 object { + int dummy[sizeof (int) == 4 ? 1 : -1]; + }] +} + # Return 1 if we're generating 32-bit or larger integers using default # options, 0 otherwise. |