* exp_ch6.adb (Expand_Inlined_Call): handle the case when the renamed
entity is an operator.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96667
138bc75d-0d04-0410-961f-
82ee72b054a4
Indic := New_Occurrence_Of (Etype (Formal), Loc);
end if;
-
if Nkind (Actual) = N_Type_Conversion then
V_Typ := Etype (Expression (Actual));
return;
end if;
- if Nkind (Orig_Bod) = N_Defining_Identifier then
-
+ if Nkind (Orig_Bod) = N_Defining_Identifier
+ or else Nkind (Orig_Bod) = N_Defining_Operator_Symbol
+ then
-- Subprogram is a renaming_as_body. Calls appearing after the
-- renaming can be replaced with calls to the renamed entity
-- directly, because the subprograms are subtype conformant. If