aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/s-taprop-solaris.adb
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/s-taprop-solaris.adb')
-rw-r--r--gcc/ada/s-taprop-solaris.adb2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/ada/s-taprop-solaris.adb b/gcc/ada/s-taprop-solaris.adb
index f77061d..042fed2 100644
--- a/gcc/ada/s-taprop-solaris.adb
+++ b/gcc/ada/s-taprop-solaris.adb
@@ -974,6 +974,7 @@ package body System.Task_Primitives.Operations is
-- actual use.
use System.Task_Info;
+ use type System.Multiprocessors.CPU_Range;
begin
-- Check whether both Dispatching_Domain and CPU are specified for the
@@ -981,6 +982,7 @@ package body System.Task_Primitives.Operations is
-- processors for the domain.
if T.Common.Domain /= null and then
+ T.Common.Base_CPU /= System.Multiprocessors.Not_A_Specific_CPU and then
(T.Common.Base_CPU not in T.Common.Domain'Range
or else not T.Common.Domain (T.Common.Base_CPU))
then