]> git.ipfire.org Git - thirdparty/gcc.git/commit
ada: Ensure a limited type is marking the packing as used
authorViljar Indus <indus@adacore.com>
Thu, 16 Jan 2025 19:40:54 +0000 (21:40 +0200)
committerMarc Poulhiès <dkm@gcc.gnu.org>
Fri, 21 Nov 2025 08:29:36 +0000 (09:29 +0100)
commitefb51d68abc06a9f5815318343164c8d2a78863c
tree25f2a0c5933297434001a7070e1267cc73a5bc31
parentf9c01c47f8e5451e41a5df78f044d7b1e7b3d5d6
ada: Ensure a limited type is marking the packing as used

gcc/ada/ChangeLog:

* sem_ch4.adb (Analyze_Call): ensure we generate a reference to the
non limited view of the return type to avoid scenarios where
the with-ed unit is not considered referenced.
gcc/ada/sem_ch4.adb