aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAlexandre Oliva <oliva@adacore.com>2024-01-30 00:31:18 -0300
committerAlexandre Oliva <oliva@gnu.org>2024-01-30 00:31:18 -0300
commit4822887b3c5df19b5a61a0db3248997a4d28161c (patch)
tree6a6d71237081ca5131d03eb29bdf5f8202d61125 /gcc
parent786208d7b230c07d292d8e269dd3d050ad11e1bf (diff)
downloadgcc-4822887b3c5df19b5a61a0db3248997a4d28161c.zip
gcc-4822887b3c5df19b5a61a0db3248997a4d28161c.tar.gz
gcc-4822887b3c5df19b5a61a0db3248997a4d28161c.tar.bz2
Revert "testsuite: Disable strub on AIX."
This reverts commit 9773ca519864e2e0706424b805c3314f1fbe7d10. The fix was in commit cb62101787555b7b32607b431fdfe6fcc8f3830f. The changes to strub-unsupported* were incorrect, those tests verify the error messages issued when strub support is properly disabled with TARGET_HAVE_STRUB_SUPPORT_FOR.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/c-c++-common/strub-unsupported-2.c1
-rw-r--r--gcc/testsuite/c-c++-common/strub-unsupported-3.c1
-rw-r--r--gcc/testsuite/c-c++-common/strub-unsupported.c1
-rw-r--r--gcc/testsuite/lib/target-supports.exp4
4 files changed, 0 insertions, 7 deletions
diff --git a/gcc/testsuite/c-c++-common/strub-unsupported-2.c b/gcc/testsuite/c-c++-common/strub-unsupported-2.c
index 321a7e1..3586f4f 100644
--- a/gcc/testsuite/c-c++-common/strub-unsupported-2.c
+++ b/gcc/testsuite/c-c++-common/strub-unsupported-2.c
@@ -1,5 +1,4 @@
/* { dg-do compile } */
-/* { dg-require-effective-target strub } */
/* Check that, when strub is not supported (so no dg-required-effective-target
strub above), we report when pointers to strub functions are called. This
diff --git a/gcc/testsuite/c-c++-common/strub-unsupported-3.c b/gcc/testsuite/c-c++-common/strub-unsupported-3.c
index 2de0fa1..d6fb4c5 100644
--- a/gcc/testsuite/c-c++-common/strub-unsupported-3.c
+++ b/gcc/testsuite/c-c++-common/strub-unsupported-3.c
@@ -1,5 +1,4 @@
/* { dg-do compile } */
-/* { dg-require-effective-target strub } */
/* Check that, when strub is not supported (so no dg-required-effective-target
strub above), we report when strub functions that are not defined are
diff --git a/gcc/testsuite/c-c++-common/strub-unsupported.c b/gcc/testsuite/c-c++-common/strub-unsupported.c
index 5fce49e..cb5c404 100644
--- a/gcc/testsuite/c-c++-common/strub-unsupported.c
+++ b/gcc/testsuite/c-c++-common/strub-unsupported.c
@@ -1,5 +1,4 @@
/* { dg-do compile } */
-/* { dg-require-effective-target strub } */
/* Check that, when strub is not supported (so no dg-required-effective-target
strub above), we report when strub functions are defined, and when they're
diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp
index 8ee082f..8aefb32 100644
--- a/gcc/testsuite/lib/target-supports.exp
+++ b/gcc/testsuite/lib/target-supports.exp
@@ -1304,10 +1304,6 @@ proc check_stack_check_available { stack_kind } {
# Return 1 if the target supports stack scrubbing.
proc check_effective_target_strub {} {
- # strub is not supported on AIX.
- if { [istarget powerpc*-*-aix*] } {
- return 0
- }
return [check_no_compiler_messages strub assembly {
void __attribute__ ((__strub__)) fn (void) {}
} ""]