This PR is about spurious failures of the ACATS-4 test cxai033, which uses tasking. This tentatively applies the same tweak as in other similar cases.
Tested on x86-64/Linux, applied on the mainline. 2025-09-08 Eric Botcazou <ebotca...@adacore.com> PR ada/121532 * ada/acats-4/tests/cxa/cxai033.a: Use Long_Switch_To_New_Task constant instead of Switch_To_New_Task in delay statements. -- Eric Botcazou
diff --git a/gcc/testsuite/ada/acats-4/tests/cxa/cxai033.a b/gcc/testsuite/ada/acats-4/tests/cxa/cxai033.a index 90bd3f60279..921655bcc62 100644 --- a/gcc/testsuite/ada/acats-4/tests/cxa/cxai033.a +++ b/gcc/testsuite/ada/acats-4/tests/cxa/cxai033.a @@ -116,7 +116,7 @@ begin -- Give time for Reader_1 to activate. - delay Impdef.Switch_To_New_Task; + delay Impdef.Long_Switch_To_New_Task; if not Reader_1_Blocked then @@ -145,7 +145,7 @@ begin -- Give time for Writer_1 to activate; - delay Impdef.Switch_To_New_Task; + delay Impdef.Long_Switch_To_New_Task; if Reader_1_Blocked then