summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/usr.bin/gcc/gcc/cp/search.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/gcc/gcc/cp/search.c b/gnu/usr.bin/gcc/gcc/cp/search.c
index c43dd212a58..d0676d53946 100644
--- a/gnu/usr.bin/gcc/gcc/cp/search.c
+++ b/gnu/usr.bin/gcc/gcc/cp/search.c
@@ -2047,7 +2047,7 @@ check_final_overrider (overrider, basefn)
else if ((i = covariant_return_p (base_return, over_return)))
{
if (i == 2)
- sorry ("adjusting pointers for covariant returns");
+ sorry ("adjusting pointers for covariant returns in %#D", overrider);
if (pedantic && i == -1)
{