aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/lib-xref.adb
diff options
context:
space:
mode:
authorEd Schonberg <schonberg@adacore.com>2018-05-30 08:57:11 +0000
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>2018-05-30 08:57:11 +0000
commit131780ac08a8dfc1b9c14a9d5c38575fcc34b205 (patch)
tree03135074ed1d7327cd5b9f8fa522268ee535798c /gcc/ada/lib-xref.adb
parentdf8aa2b7e18670c97076083ea292a0a7b2d08263 (diff)
downloadgcc-131780ac08a8dfc1b9c14a9d5c38575fcc34b205.zip
gcc-131780ac08a8dfc1b9c14a9d5c38575fcc34b205.tar.gz
gcc-131780ac08a8dfc1b9c14a9d5c38575fcc34b205.tar.bz2
[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. From-SVN: r260932
Diffstat (limited to 'gcc/ada/lib-xref.adb')
0 files changed, 0 insertions, 0 deletions