diff options
author | Piotr Trojanek <trojanek@adacore.com> | 2022-12-22 12:14:08 +0100 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2023-05-15 11:36:40 +0200 |
commit | 983f4eff259317f4c3d0a5a3726bb1c8dcd9a623 (patch) | |
tree | b0f409c847d01624be87a1e3f600eb11cf69cef6 /gcc/tree-iterator.h | |
parent | bc60b3c350885cf60547f9e7002248b9bbb81e3d (diff) | |
download | gcc-983f4eff259317f4c3d0a5a3726bb1c8dcd9a623.zip gcc-983f4eff259317f4c3d0a5a3726bb1c8dcd9a623.tar.gz gcc-983f4eff259317f4c3d0a5a3726bb1c8dcd9a623.tar.bz2 |
ada: Reject attribute Initialize on unchecked unions
Attribute Initialized is expanded into Valid_Scalars, which can't work
on unchecked unions, so Initialized on unchecked unions needs to be
rejected before expansion.
gcc/ada/
* sem_attr.adb (Analyze_Attribute): Reject attribute Initialized
on unchecked unions; fix grammar in comment.
Diffstat (limited to 'gcc/tree-iterator.h')
0 files changed, 0 insertions, 0 deletions