aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/exp_ch8.adb
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/exp_ch8.adb')
-rw-r--r--gcc/ada/exp_ch8.adb8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/ada/exp_ch8.adb b/gcc/ada/exp_ch8.adb
index 6a00a3b..3185f7d 100644
--- a/gcc/ada/exp_ch8.adb
+++ b/gcc/ada/exp_ch8.adb
@@ -319,6 +319,14 @@ package body Exp_Ch8 is
end if;
Analyze (Decl);
+
+ -- Enter the debug variable in the qualification list, which
+ -- must be done at this point because auxiliary declarations
+ -- occur at the library level and aren't associated with a
+ -- normal scope.
+
+ Qualify_Entity_Names (Decl);
+
Pop_Scope;
end;