https://gcc.gnu.org/g:7640cc5ef80afae9b65afcca96e1eb2b9e513c21

commit r16-3669-g7640cc5ef80afae9b65afcca96e1eb2b9e513c21
Author: Eric Botcazou <ebotca...@adacore.com>
Date:   Mon Sep 8 19:18:59 2025 +0200

    Testsuite: Fix spurious of ACATS-4 test cxai033
    
    This tentatively applies the same tweak as in other similar cases.
    
    gcc/testsuite/
            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.

Diff:
---
 gcc/testsuite/ada/acats-4/tests/cxa/cxai033.a | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/testsuite/ada/acats-4/tests/cxa/cxai033.a 
b/gcc/testsuite/ada/acats-4/tests/cxa/cxai033.a
index 90bd3f60279e..921655bcc624 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

Reply via email to