[Ada] Spurious accessibility error on allocator in generic instance
authorJustin Squirek <squirek@adacore.com>
Tue, 22 Jun 2021 21:31:55 +0000 (17:31 -0400)
committerPierre-Marie de Rodat <derodat@adacore.com>
Mon, 20 Sep 2021 12:31:29 +0000 (12:31 +0000)
commit518cededb0ca426ef6fd04bb9e4db2082da671e2
treeb1eda946fccf5803aa78ef83ca2850d7dafffb87
parent66fa923768870fbd943ad986d0f501cef21bd958
[Ada] Spurious accessibility error on allocator in generic instance

gcc/ada/

* exp_ch4.adb (Expand_N_Type_Conversion): Add guard to protect
against calculating accessibility levels against internal
compiler-generated types.
gcc/ada/exp_ch4.adb