aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ada/sem_ch4.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/sem_ch4.adb b/gcc/ada/sem_ch4.adb
index 77f2812..a96ce9f 100644
--- a/gcc/ada/sem_ch4.adb
+++ b/gcc/ada/sem_ch4.adb
@@ -10223,7 +10223,7 @@ package body Sem_Ch4 is
if Serious_Errors_Detected = 0 then
Error_Msg_NE
("cannot resolve prefixed call to primitive operation of&",
- N, Entity (Prefix (N)));
+ N, Entity (Obj));
end if;
end if;