diff options
author | Ed Schonberg <schonberg@adacore.com> | 2005-09-05 09:59:10 +0200 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2005-09-05 09:59:10 +0200 |
commit | 48aa1f1a6180e8d826ff5efa4a637477be56be48 (patch) | |
tree | 571518148cb0be159daf3c8e2fd827f57937d3fc /gcc/java/decl.c | |
parent | f81856470301fd6d3d353e4f872244b4ab7cc2ba (diff) | |
download | gcc-48aa1f1a6180e8d826ff5efa4a637477be56be48.zip gcc-48aa1f1a6180e8d826ff5efa4a637477be56be48.tar.gz gcc-48aa1f1a6180e8d826ff5efa4a637477be56be48.tar.bz2 |
sem_ch12.adb (Instantiate_Subprogram_Body): When creating the defining entity for the instance body...
2005-09-01 Ed Schonberg <schonberg@adacore.com>
Javier Miranda <miranda@adacore.com>
Gary Dismukes <dismukes@adacore.com>
* sem_ch12.adb (Instantiate_Subprogram_Body): When creating the
defining entity for the instance body, make a new defining identifier
rather than copying the entity of the spec, to prevent accidental
sharing of the entity list.
(Check_Private_View): When exchanging views of private types, build the
list of exchanged views as a stack, to ensure that on exit the exchanges
are undone in the proper order.
(Analyze_Package_Instantiation, Analyze_Subprogram_Instantiation):
Restore the compilation environment in case of instantiation_error.
(Analyze_Generic_Subprogram_Declaration): Handle creation of type entity
for an anonymous access result.
(Instantiate_Generic_Subprogram): Subtype_Mark => Result_Definition
(Formal_Entity): Handle properly the case of a formal package that
denotes a generic package renaming.
From-SVN: r103879
Diffstat (limited to 'gcc/java/decl.c')
0 files changed, 0 insertions, 0 deletions