aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/gcc-interface/targtyps.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@gcc.gnu.org>2020-06-23 18:02:07 +0200
committerEric Botcazou <ebotcazou@gcc.gnu.org>2020-06-23 18:35:46 +0200
commit5bdd063b9d8082cb8c8ede2721f1f425d3b952f0 (patch)
treeac5e1dccfac67272224c2b532db82f4c076a4162 /gcc/ada/gcc-interface/targtyps.c
parentcd42cdc225a905cb1eb38dfad453e654261a659e (diff)
downloadgcc-5bdd063b9d8082cb8c8ede2721f1f425d3b952f0.zip
gcc-5bdd063b9d8082cb8c8ede2721f1f425d3b952f0.tar.gz
gcc-5bdd063b9d8082cb8c8ede2721f1f425d3b952f0.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/ada/gcc-interface/targtyps.c')
0 files changed, 0 insertions, 0 deletions