exp_ch6.adb
138 KB
-
exp_ch6.adb (Expand_Actuals): If the actual for an in-out parameter is aliased… · faf3cf91
exp_ch6.adb (Expand_Actuals): If the actual for an in-out parameter is aliased and is a by_reference type... 2004-10-26 Ed Schonberg <schonberg@gnat.com> Eric Botcazou <ebotcazou@act-europe.fr> * exp_ch6.adb (Expand_Actuals): If the actual for an in-out parameter is aliased and is a by_reference type, do not pass by copy. (Expand_N_Function_Call) <Rhs_Of_Assign_Or_Decl>: New function to detect whether the call is in the right side of an assignment or the expression of an object declaration. Recurse on component association within aggregates. Call it in the condition that determines whether the temporary is necessary for correct stack-checking. From-SVN: r89651
Ed Schonberg committed