ada/sp04: Fix test failure due to compiler opti

The SPTEST.RUN_COUNT must be volatile since it is changed outside of the
procedure scope by the thread switch extension.
This commit is contained in:
Sebastian Huber
2018-02-22 16:40:16 +01:00
parent 5618997dfd
commit 0d44e251d9
+1
View File
@@ -45,6 +45,7 @@ package SPTEST is
--
RUN_COUNT : array ( RTEMS.UNSIGNED32 range 1 .. 3 ) of RTEMS.UNSIGNED32;
pragma Volatile (RUN_COUNT);
--
-- INIT