[Ada] Refine use of access types in unnesting
authorRichard Kenner <kenner@adacore.com>
Mon, 4 May 2020 13:47:30 +0000 (09:47 -0400)
committerPierre-Marie de Rodat <derodat@adacore.com>
Mon, 6 Jul 2020 11:34:59 +0000 (07:34 -0400)
commit3e6bb105d309430c6a96caaa9c0693cad935a09a
treea63f5109e627c44d8efd8f646c880a2c3d5c8d11
parentf5b65fab88022c4dcfaa9020ecbc7719e92ca53a
[Ada] Refine use of access types in unnesting

gcc/ada/

* exp_unst.adb (Needs_Fat_Pointer): Don't check for formal.
(Unnest_Subprogram): Use 'Unchecked_Access instead of 'Access
when populating activation record.
gcc/ada/exp_unst.adb