* sem_cat.adb (Set_Categorization_From_Scope): Do not set In_Remote_Types unless in the visible part of the spec of a remote types unit. (Validate_Remote_Access_Object_Type_Declaration): New local subprogram Is_Valid_Remote_Object_Type, replaces Is_Recursively_Limited_Private. (Validate_RACW_Primitives): Enforce E.2.2(14) rules: the types of all non-controlling formals (and the return type, even though this is not explicit in the standard) must support external streaming. (Validate_RCI_Subprogram_Declaration): Enforce E.2.3(14) rules: same as above for of RAS types and RCI subprograms. (The return type is not checked yet). Update comments related to RACWs designating limited interfaces per ARG ruling on AI05-060. * sem_util.ads, sem_util.adb (Is_Remote_Access_To_Class_Wide_Type): Only rely on Is_Remote_Types and Is_Remote_Call_Interface to identify RACW types in a stable and consistent way. We used to rely in this predicate on the privateness of the designated type and its ancestors, but depending on the currently visible private parts, this caused false negatives. We now uniformly rely on checks made at the point where the RACW type is declared. (Inspect_Deferred_Constant_Completion): Moved from Sem_Ch7. From-SVN: r135637
Name |
Last commit
|
Last update |
---|---|---|
INSTALL | Loading commit data... | |
boehm-gc | Loading commit data... | |
config | Loading commit data... | |
contrib | Loading commit data... | |
fixincludes | Loading commit data... | |
gcc | Loading commit data... | |
gnattools | Loading commit data... | |
include | Loading commit data... | |
intl | Loading commit data... | |
libada | Loading commit data... | |
libcpp | Loading commit data... | |
libdecnumber | Loading commit data... | |
libffi | Loading commit data... | |
libgcc | Loading commit data... | |
libgfortran | Loading commit data... | |
libgomp | Loading commit data... | |
libiberty | Loading commit data... | |
libjava | Loading commit data... | |
libmudflap | Loading commit data... | |
libobjc | Loading commit data... | |
libssp | Loading commit data... | |
libstdc++-v3 | Loading commit data... | |
maintainer-scripts | Loading commit data... | |
zlib | Loading commit data... | |
ABOUT-NLS | Loading commit data... | |
COPYING | Loading commit data... | |
COPYING.LIB | Loading commit data... | |
COPYING3 | Loading commit data... | |
COPYING3.LIB | Loading commit data... | |
ChangeLog | Loading commit data... | |
ChangeLog.tree-ssa | Loading commit data... | |
MAINTAINERS | Loading commit data... | |
Makefile.def | Loading commit data... | |
Makefile.in | Loading commit data... | |
Makefile.tpl | Loading commit data... | |
README | Loading commit data... | |
README.SCO | Loading commit data... | |
compile | Loading commit data... | |
config-ml.in | Loading commit data... | |
config.guess | Loading commit data... | |
config.rpath | Loading commit data... | |
config.sub | Loading commit data... | |
configure | Loading commit data... | |
configure.ac | Loading commit data... | |
depcomp | Loading commit data... | |
install-sh | Loading commit data... | |
libtool-ldflags | Loading commit data... | |
libtool.m4 | Loading commit data... | |
ltgcc.m4 | Loading commit data... | |
ltmain.sh | Loading commit data... | |
ltoptions.m4 | Loading commit data... | |
ltsugar.m4 | Loading commit data... | |
ltversion.m4 | Loading commit data... | |
lt~obsolete.m4 | Loading commit data... | |
missing | Loading commit data... | |
mkdep | Loading commit data... | |
mkinstalldirs | Loading commit data... | |
move-if-change | Loading commit data... | |
symlink-tree | Loading commit data... | |
ylwrap | Loading commit data... |