https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121058
--- Comment #4 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
This comes from this kludge in Resolve:
-- AI05-0139-2: Expression is overloaded because type has
-- implicit dereference. The context may be the one that
-- requires implicit dereferemce.
elsif Has_Implicit_Dereference (Expr_Type) then
Set_Etype (N, Expr_Type);
Set_Is_Overloaded (N, False);
