[Ada] Introduce a new Needs_Activation_Record entity flag
authorEd Schonberg <schonberg@adacore.com>
Mon, 28 May 2018 08:54:46 +0000 (08:54 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Mon, 28 May 2018 08:54:46 +0000 (08:54 +0000)
commitc84205cd4fb4122a092207542c55a92b62bcb314
tree63bea3e1dd53cb59fd4e94dffc9f2757640da8ca
parenta98217beaa82d397893ea6f9eed30e74937427a2
[Ada] Introduce a new Needs_Activation_Record entity flag

2018-05-28  Ed Schonberg  <schonberg@adacore.com>

gcc/ada/

* einfo.ads, einfo.adb (Needs_Activation_Record): New flag on
access-to-subprogram types, to indicate that an indirect call through
such a type requires an activation record when compiling for LLVM.
* sem_ch3.adb (Access_Subprogram_Declaration): Set new flag as needed.

From-SVN: r260833
gcc/ada/ChangeLog
gcc/ada/einfo.adb
gcc/ada/einfo.ads
gcc/ada/sem_ch3.adb