r260932 - in /trunk/gcc/ada: ChangeLog sem_ch3....

pmderodat@gcc.gnu.org pmderodat@gcc.gnu.org
Wed May 30 08:57:00 GMT 2018


Author: pmderodat
Date: Wed May 30 08:57:11 2018
New Revision: 260932

URL: https://gcc.gnu.org/viewcvs?rev=260932&root=gcc&view=rev
Log:
[Ada] Refine logic to set Needs_Activation_Record on subprogram types

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

gcc/ada/

	* sem_ch3.adb (Access_Subprogram_Declaration): The flag
	Needs_Activation_Record is only needed on a subprogram type, not on a
	pointer to such.
	* sem_res.adb (Resolve_Selected_Component): If the context type and the
	component type are anonymous access to subprograms, use the component
	type to obtain the proper value of Needs_Activation_Record flag for the
	expression.

Modified:
    trunk/gcc/ada/ChangeLog
    trunk/gcc/ada/sem_ch3.adb
    trunk/gcc/ada/sem_res.adb



More information about the Gcc-cvs mailing list