This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r263713 - in /trunk/gcc/ada: ChangeLog exp_ch9.adb
- From: pmderodat at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 21 Aug 2018 14:45:04 -0000
- Subject: r263713 - in /trunk/gcc/ada: ChangeLog exp_ch9.adb
Author: pmderodat
Date: Tue Aug 21 14:45:04 2018
New Revision: 263713
URL: https://gcc.gnu.org/viewcvs?rev=263713&root=gcc&view=rev
Log:
[Ada] Fix scope computation for entry bodies and accept alternatives
2018-08-21 Ed Schonberg <schonberg@adacore.com>
gcc/ada/
* exp_ch9.adb (Reset_Scopes): Do not recurse into type
declarations when resetting the scope of entities declared the
procedures generated for entry bodies and accept alternatives.
Use the entity of the procedure declaration, not its body, as
the new scope.
Modified:
trunk/gcc/ada/ChangeLog
trunk/gcc/ada/exp_ch9.adb