diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2023-01-25 15:59:19 +0100 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2023-05-30 09:12:17 +0200 |
commit | d5518dabfa4ea310ee237dd4944970c387f27b3f (patch) | |
tree | 415b2fc19dd8b76aabcd9f15d6d07c248e82ec79 /gcc/ada/gcc-interface/utils.cc | |
parent | 2d4883a1f85e5ed30060a25778aaf4ef9e328b5b (diff) | |
download | gcc-d5518dabfa4ea310ee237dd4944970c387f27b3f.zip gcc-d5518dabfa4ea310ee237dd4944970c387f27b3f.tar.gz gcc-d5518dabfa4ea310ee237dd4944970c387f27b3f.tar.bz2 |
ada: Adjust again the implementation of storage models
The code generator must now be prepared to translate assignment statements
to objects allocated with a storage model and that are not initialized yet.
gcc/ada/
* gcc-interface/trans.cc (Attribute_to_gnu) <Attr_Size>: Tweak.
(gnat_to_gnu) <N_Assignment_Statement>: Declare a local variable.
For a target with a storage model, use the Actual_Designated_Subtype
to compute the size if it is present.
Diffstat (limited to 'gcc/ada/gcc-interface/utils.cc')
0 files changed, 0 insertions, 0 deletions