]> git.ipfire.org Git - thirdparty/gcc.git/commit
ada: Spurious error compiling CC51011
authorJavier Miranda <miranda@adacore.com>
Mon, 16 Sep 2024 11:40:06 +0000 (11:40 +0000)
committerMarc Poulhiès <dkm@gcc.gnu.org>
Fri, 25 Oct 2024 09:09:00 +0000 (11:09 +0200)
commitd6f9774b780150c1cbb58d43a0f1f36c2da0e2c7
tree46e26daaa56446633aff7a1dbb56c46335592552
parenta71c37a7241d8a73fe51712e5b4c7222afbaee8b
ada: Spurious error compiling CC51011

Adjust the check of 13.14(10.2/3) to avoid reporting an error
on unfrozen incomplete types, as they are never frozen
(AI12-0155-1).

gcc/ada/ChangeLog:

* sem_ch8.adb (Freeze_Actual_Profile): Do not report error
on incomplete types, since they do not cause freezing.
gcc/ada/sem_ch8.adb