exp_ch6.adb (Expand_Call): If an actual is a function call rewritten from object...
authorEd Schonberg <schonberg@adacore.com>
Mon, 5 Sep 2005 07:53:24 +0000 (09:53 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Mon, 5 Sep 2005 07:53:24 +0000 (09:53 +0200)
commit2f1b20a916847d44edf6073cb07068ac201c2c58
tree81769ea78a2ec7af5e792a2936b265ee2eb8060b
parent0f7164706b48fba1c832d74ee787deded16034a1
exp_ch6.adb (Expand_Call): If an actual is a function call rewritten from object notation...

2005-09-01  Ed Schonberg  <schonberg@adacore.com>
    Hristian Kirtchev  <kirtchev@adacore.com>
    Javier Miranda  <miranda@adacore.com>

* exp_ch6.adb (Expand_Call): If an actual is a function call rewritten
from object notation, the original node is unanalyzed and carries no
semantic information, so that accessiblity checks must be performed on
the type of the actual itself.
(Expand_N_Subprogram_Declaration): Change last actual parameter for
compatibility with Build_Protected_Sub_Specification.
(Check_Overriding_Inherited_Interfaces): Add suport to handle
overloaded primitives.
(Register_Interface_DT_Entry): Use the new name of the formal
the the calls to Expand_Interface_Thunk

* exp_dbug.ads: Augment comments on encoding of protected types to
include the generation of dispatching subprograms when the type
implements at least one interface.

* lib.ads: Extend information in Load_Stack to include whether a given
load comes from a Limited_With_Clause.

* lib-load.adb (From_Limited_With_Chain): New predicate to determine
whether a potential circularity is harmless, because it includes units
loaded through a limited_with clause. Extends previous treatment which
did not handle properly arbitrary combinations of limited and
non-limited clauses.

From-SVN: r103861
gcc/ada/exp_ch6.adb
gcc/ada/exp_dbug.ads
gcc/ada/lib-load.adb
gcc/ada/lib.ads