diff options
author | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2020-06-23 18:02:07 +0200 |
---|---|---|
committer | Giuliano Belinassi <giuliano.belinassi@usp.br> | 2020-08-17 13:14:36 -0300 |
commit | e4fa68cadcc3873606aca48cdc704551d8c98ea2 (patch) | |
tree | 0742e4adb8f044fb95cf2fc50b7f4ce978bbcf45 /gcc/fortran/iresolve.c | |
parent | 2a2807376b3c2237014e5c4d2eeeefe92577ff06 (diff) | |
download | gcc-e4fa68cadcc3873606aca48cdc704551d8c98ea2.zip gcc-e4fa68cadcc3873606aca48cdc704551d8c98ea2.tar.gz gcc-e4fa68cadcc3873606aca48cdc704551d8c98ea2.tar.bz2 |
Streamline implementation of renaming in gigi
The main changes are 1) the bulk of the implementation is put back entirely
in gnat_to_gnu_entity and 2) the handling of lvalues is unified, i.e. it no
longer depends on the Materialize_Entity flag being present on the entity.
gcc/ada/ChangeLog:
* gcc-interface/ada-tree.h (DECL_RENAMED_OBJECT): Delete.
* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Variable>: Always use
the stabilized reference directly for renaming and create a variable
pointing to it separately if requested.
* gcc-interface/misc.c (gnat_print_decl): Adjust for deletion.
* gcc-interface/trans.c (Identifier_to_gnu): Likewise.
(gnat_to_gnu) <N_Object_Renaming_Declaration>:
Do not deal with side-effects here.
<N_Exception_Renaming_Declaration>: Likewise.
Diffstat (limited to 'gcc/fortran/iresolve.c')
0 files changed, 0 insertions, 0 deletions