]> git.ipfire.org Git - thirdparty/gcc.git/commit
ada: Crash on 'Access for Stream_Element_Array object
authorsquirek <squirek@adacore.com>
Thu, 24 Oct 2024 17:02:53 +0000 (17:02 +0000)
committerMarc Poulhiès <dkm@gcc.gnu.org>
Mon, 18 Nov 2024 14:06:54 +0000 (15:06 +0100)
commit1850d0dbd32cf0b2cfa3225f0f8fbe1754b37393
treef50e77e0a483bb20642c4078fa31ef2e6c75067b
parent28a69cb3db4525cb40c224a6beb0f5c4f9a94c57
ada: Crash on 'Access for Stream_Element_Array object

This patch fixes a crash in the compiler when the actual for an anonymous
access type formal is an 'Access of a Sream_Element_Array object during
the calculation of said actual's accessibility level.

gcc/ada/ChangeLog:

* accessibility.adb (Accessibility_Level): Handle the Input attribute
case
gcc/ada/accessibility.adb