aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/exp_ch13.adb
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/exp_ch13.adb')
-rw-r--r--gcc/ada/exp_ch13.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/exp_ch13.adb b/gcc/ada/exp_ch13.adb
index 479deca..6665daa 100644
--- a/gcc/ada/exp_ch13.adb
+++ b/gcc/ada/exp_ch13.adb
@@ -491,7 +491,7 @@ package body Exp_Ch13 is
-- a constrained type extension with inherited discriminants.
if Is_Type (E_Scope)
- and then Ekind (E_Scope) not in Concurrent_Kind
+ and then not Is_Concurrent_Type (E_Scope)
then
E_Scope := Scope (E_Scope);