ada: Simplify the implementation of storage models
commit2d4883a1f85e5ed30060a25778aaf4ef9e328b5b
authorEric Botcazou <ebotcazou@adacore.com>
Tue, 24 Jan 2023 09:26:00 +0000 (24 10:26 +0100)
committerMarc Poulhiès <poulhies@adacore.com>
Tue, 30 May 2023 07:12:17 +0000 (30 09:12 +0200)
treeb579b1504ba3e0195bea563fc70c40fa436fde57
parenta91b145bd6903aa526de8f5c7b1586045b574e31
ada: Simplify the implementation of storage models

As the additional temporaries required by the semantics of nonnative storage
models are now created by the front-end, in particular for actual parameters
and assignment statements, the corresponding code in gigi can be removed.

gcc/ada/

* gcc-interface/trans.cc (Call_to_gnu): Remove code implementing the
by-copy semantics for actuals with nonnative storage models.
(gnat_to_gnu) <N_Assignment_Statement>: Remove code instantiating a
temporary for assignments between nonnative storage models.
gcc/ada/gcc-interface/trans.cc