[Ada] Spurious accessibility error on allocator
authorJustin Squirek <squirek@adacore.com>
Fri, 29 May 2020 19:44:50 +0000 (15:44 -0400)
committerPierre-Marie de Rodat <derodat@adacore.com>
Wed, 15 Jul 2020 13:42:34 +0000 (09:42 -0400)
commit3c30eac83cb16fb8085683515a796f22d5e33ef5
tree86e557535f68bed5a7968f030ea0e1ba88af8230
parenta2f4fc6f3fe2ed458f348dccbab9367a35e6a3a2
[Ada] Spurious accessibility error on allocator

gcc/ada/

* exp_ch6.adb (Make_Build_In_Place_Call_Allocator): Normalize
the associated node for internally generated objects to be like
their SOAAT counter-parts.
gcc/ada/exp_ch6.adb