[Ada] Clarify use of Activation_Record_Component
authorEd Schonberg <schonberg@adacore.com>
Tue, 29 May 2018 09:41:59 +0000 (09:41 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Tue, 29 May 2018 09:41:59 +0000 (09:41 +0000)
commit54e33e5f6a0f566e6b0e96da3d5f27449d807248
tree6c343f45fb378f49d69674e56804c0bfb61e7747
parent895500a2aefb586b3ad34e0dc44563dbb4cb54fb
[Ada] Clarify use of Activation_Record_Component

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

gcc/ada/

* einfo.ads, einfo.adb: Clarify use of Activation_Record_Component:
discriminants and exceptions are never components of such.  The flag
Needs_Activation_Record is set on subprogram types, not on access to
them.

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