[Ada] Use helper function in Freeze_Subprogram_Body
authorEric Botcazou <ebotcazou@adacore.com>
Sun, 2 Aug 2020 12:14:50 +0000 (14:14 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Wed, 21 Oct 2020 07:22:45 +0000 (03:22 -0400)
commite98f6ed1e2e9f0cfaac5dad0e279091d88fd353f
tree63c16f44004b7ac05ef83232542e6d838defb007
parentbd4dc93d42b0148cf24a8a4738a0f27d1be580f8
[Ada] Use helper function in Freeze_Subprogram_Body

gcc/ada/

* sem_ch12.adb (Freeze_Subprogram_Body): Call
Package_Freeze_Node to retrieve the freeze node for the
enclosing body of the generic.
gcc/ada/sem_ch12.adb