https://gcc.gnu.org/g:fe837dc02bbf80f6907ed8c1065fe12688b8ea95
commit r16-3098-gfe837dc02bbf80f6907ed8c1065fe12688b8ea95 Author: Dimitar Dimitrov <dimi...@dinux.eu> Date: Sat Aug 9 08:26:13 2025 +0300 testsuite: Require atomic operations for hardbool-ai.c The test uses _Atomic int type, so add a filter to ensure the target supports it. This fixes a spurious test failure on pru-unknown-elf, which lacks atomic ops. The test still passes on x86_64-linux-gnu. gcc/testsuite/ChangeLog: * gcc.dg/torture/hardbool-ai.c: Require target that supports atomic operations on int types. Signed-off-by: Dimitar Dimitrov <dimi...@dinux.eu> Diff: --- gcc/testsuite/gcc.dg/torture/hardbool-ai.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/testsuite/gcc.dg/torture/hardbool-ai.c b/gcc/testsuite/gcc.dg/torture/hardbool-ai.c index 97569a6de6da..af4e0e14b58a 100644 --- a/gcc/testsuite/gcc.dg/torture/hardbool-ai.c +++ b/gcc/testsuite/gcc.dg/torture/hardbool-ai.c @@ -1,4 +1,5 @@ /* { dg-do run } */ +/* { dg-require-effective-target sync_int_long } */ #define basetype _Atomic int