diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2024-11-12 00:18:00 +0100 |
---|---|---|
committer | Marc Poulhiès <dkm@gcc.gnu.org> | 2024-11-26 10:49:34 +0100 |
commit | 95bb4ef5cbe1fa0bc05802debcb25a9422e080a5 (patch) | |
tree | 900f65368900f5efb1767e04f6c3e4bf14927bc9 /gcc/fortran/trans-expr.cc | |
parent | 8278d9551df610179fca114808a7e6e62bab3d82 (diff) | |
download | gcc-95bb4ef5cbe1fa0bc05802debcb25a9422e080a5.zip gcc-95bb4ef5cbe1fa0bc05802debcb25a9422e080a5.tar.gz gcc-95bb4ef5cbe1fa0bc05802debcb25a9422e080a5.tar.bz2 |
ada: Fix latent issue exposed by recent change in aggregate expansion
The tag is not assigned when a compile-time known aggregate initializes an
object declared with an address clause/aspect.
gcc/ada/ChangeLog:
* freeze.adb: Remove clauses for Exp_Ch3.
(Check_Address_Clause): Always reassign the tag for an object of a
tagged type if there is an initialization expression.
Diffstat (limited to 'gcc/fortran/trans-expr.cc')
0 files changed, 0 insertions, 0 deletions