]> git.ipfire.org Git - thirdparty/gcc.git/commit
ada: Fix incorrect incomplete type error
authorViljar Indus <indus@adacore.com>
Thu, 5 Dec 2024 09:47:05 +0000 (11:47 +0200)
committerMarc Poulhiès <dkm@gcc.gnu.org>
Mon, 6 Jan 2025 09:14:45 +0000 (10:14 +0100)
commit950df6096f8a5e01ec56471fcfc95ad44f5494e3
tree2c7545c929de80f731c5b8b70e1dfd4fc007181c
parent82e9c7c9c1ba3ce16c0cca83fddb70fb85df8eff
ada: Fix incorrect incomplete type error

In Ada 2005 even if the formal is using a tagged limited type
then the type should not be considered incomplete.

gcc/ada/ChangeLog:

* sem_ch6.adb (Analyze_Subprogram_Body_Helper):
Exchange_Limited_Views also in Ada 2005.
gcc/ada/sem_ch6.adb