2006-10-31 Bob Duff <duff@adacore.com> Ed Schonberg <schonberg@adacore.com> * exp_aggr.adb (Build_Record_Aggr_Code): For extension aggregates, if the parent part is a build-in-place function call, generate assignments. (Expand_Record_Aggregate): Call Convert_To_Assignments if any components are build-in-place function calls. (Replace_Self_Reference): New subsidiary of Make_OK_Assignment_Statement, to replace an access attribute that is a self-reference into an access to the appropriate component of the target object. Generalizes previous mechanism to handle self-references nested at any level. (Is_Self_Referential_Init): Remove, not needed. (Is_Self_Referential_Init): New predicate to simplify handling of self referential components in record aggregates. (Has_Default_Init_Comps, Make_OK_Assignment_Statement): Add guard to check for presence of entity before checking for self-reference. (Has_Default_Init_Comps): Return True if a component association is a self-reference to the enclosing type, which can only come from a default initialization. (Make_OK_Assignment_Statement): If the expression is of the form Typ'Acc, where Acc is an access attribute, the expression comes from a default initialized self-referential component. (Build_Record_Aggr_Code): If the type of the aggregate is a tagged type that has been derived from several abstract interfaces we must also initialize the tags of the secondary dispatch tables. From-SVN: r118253
| 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... | |
| 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... | |
| 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.in | Loading commit data... | |
| depcomp | Loading commit data... | |
| install-sh | Loading commit data... | |
| libtool-ldflags | Loading commit data... | |
| libtool.m4 | Loading commit data... | |
| ltcf-c.sh | Loading commit data... | |
| ltcf-cxx.sh | Loading commit data... | |
| ltcf-gcj.sh | Loading commit data... | |
| ltconfig | Loading commit data... | |
| ltmain.sh | 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... |