ada: Preliminary cleanup in aliasing support code
commit63da219a948a4d9f98f5a0d23e9c19fe48bc0734
authorEric Botcazou <ebotcazou@adacore.com>
Tue, 12 Dec 2023 08:21:14 +0000 (12 09:21 +0100)
committerMarc Poulhiès <poulhies@adacore.com>
Tue, 9 Jan 2024 13:13:32 +0000 (9 14:13 +0100)
treecb46975dded6a47d64da8f4f43bc9166898d175e
parent9b7d674fadd07aed242711e91232dbd049ef35be
ada: Preliminary cleanup in aliasing support code

This declares an explicit temporary for the fields of the fat pointer type
in gnat_to_gnu_entity and removes the GNU_ prefix of the parameters of the
relate_alias_sets routine for the sake of brevity.  No functional changes.

gcc/ada/

* gcc-interface/decl.cc (gnat_to_gnu_entity) <E_Array_Type>: Use a
separate FLD local variable to hold the first field of the fat
pointer type being built.
* gcc-interface/gigi.h (relate_alias_sets): Remove GNU_ prefix on
the first two parameters.
* gcc-interface/utils.cc (relate_alias_sets): Likewise and adjust.
gcc/ada/gcc-interface/decl.cc
gcc/ada/gcc-interface/gigi.h
gcc/ada/gcc-interface/utils.cc