testsuite: Disable strub on AIX.
commit9773ca519864e2e0706424b805c3314f1fbe7d10
authorDavid Edelsohn <dje.gcc@gmail.com>
Tue, 26 Dec 2023 16:34:11 +0000 (26 11:34 -0500)
committerDavid Edelsohn <dje.gcc@gmail.com>
Tue, 26 Dec 2023 16:38:30 +0000 (26 11:38 -0500)
treeb80ffd156c58af771629135e63a6c389946872ef
parent87dfd70723385486645de3b8c93fa1e19143fa46
testsuite: Disable strub on AIX.

AIX does not support stack scrubbing. Set strub as unsupported on AIX
and ensure that testcases check for strub support.

gcc/testsuite/ChangeLog:
* c-c++-common/strub-unsupported-2.c: Require strub.
* c-c++-common/strub-unsupported-3.c: Same.
* c-c++-common/strub-unsupported.c: Same.
* lib/target-supports.exp (check_effective_target_strub): Return 0
for AIX.

Signed-off-by: David Edelsohn <dje.gcc@gmail.com>
gcc/testsuite/c-c++-common/strub-unsupported-2.c
gcc/testsuite/c-c++-common/strub-unsupported-3.c
gcc/testsuite/c-c++-common/strub-unsupported.c
gcc/testsuite/lib/target-supports.exp