diff options
author | Justin Squirek <squirek@adacore.com> | 2024-06-18 08:38:18 +0000 |
---|---|---|
committer | Marc Poulhiès <dkm@gcc.gnu.org> | 2024-07-02 15:20:35 +0200 |
commit | 03308301c7bb2eed0bc8990db7038aac3a2dcb97 (patch) | |
tree | 44bc82e89aea15f89081006a1c05a662a1bdf7b1 /gcc/dwarf2ctf.cc | |
parent | d33104429a6662f33e05b9fcae65c87a87005749 (diff) | |
download | gcc-03308301c7bb2eed0bc8990db7038aac3a2dcb97.zip gcc-03308301c7bb2eed0bc8990db7038aac3a2dcb97.tar.gz gcc-03308301c7bb2eed0bc8990db7038aac3a2dcb97.tar.bz2 |
ada: Allow mutably tagged types to work with qualified expressions
This patch modifies the experimental 'Size'Class feature such that objects of
mutably tagged types can be assigned qualified expressions featuring a
definite type (e.g. Mutable_Obj := Root_Child_T'(Root_T with others => <>)).
gcc/ada/
* sem_ch5.adb:
(Analyze_Assignment): Add special expansion for qualified expressions
in certain cases dealing with mutably tagged types.
Diffstat (limited to 'gcc/dwarf2ctf.cc')
0 files changed, 0 insertions, 0 deletions