aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/rtsfind.adb
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/rtsfind.adb')
-rw-r--r--gcc/ada/rtsfind.adb4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ada/rtsfind.adb b/gcc/ada/rtsfind.adb
index 2b25c9f..9eeaa33 100644
--- a/gcc/ada/rtsfind.adb
+++ b/gcc/ada/rtsfind.adb
@@ -233,8 +233,8 @@ package body Rtsfind is
-- If the entity being referenced is defined in the current scope,
-- using it is always fine as such usage can never introduce any
- -- dependency on an additional unit.
- -- Why do we need to do this test ???
+ -- dependency on an additional unit. The presence of this test
+ -- helps generating meaningful error messages for CRT violations.
and then Scope (Eid) /= Current_Scope
then