diff options
author | Gary Dismukes <dismukes@adacore.com> | 2019-10-10 15:25:08 +0000 |
---|---|---|
committer | Pierre-Marie de Rodat <pmderodat@gcc.gnu.org> | 2019-10-10 15:25:08 +0000 |
commit | 6c142b14a07b166fcb2809cd3c3fcd59a748ce7e (patch) | |
tree | edf436e3c3c8c5b5d838648d74a63ec55bcef53d /gcc/diagnostic-format-json.cc | |
parent | 55160f6c7c838a2e35895cb741fff5ea237b1260 (diff) | |
download | gcc-6c142b14a07b166fcb2809cd3c3fcd59a748ce7e.zip gcc-6c142b14a07b166fcb2809cd3c3fcd59a748ce7e.tar.gz gcc-6c142b14a07b166fcb2809cd3c3fcd59a748ce7e.tar.bz2 |
[Ada] Unnesting issues with entry families and accept statements
2019-10-10 Gary Dismukes <dismukes@adacore.com>
gcc/ada/
* sem_util.adb (Enclosing_Subprogram): Handle the case of
E_Entry_Family, returning the entry family's associated
Protected_Body_Subprogram (as was already done for E_Entry).
* exp_ch9.adb (Expand_N_Accept_Statement): Call Reset_Scopes_To
on the block created for an accept statement to reset the scopes
of any local entities to the block scope.
From-SVN: r276830
Diffstat (limited to 'gcc/diagnostic-format-json.cc')
0 files changed, 0 insertions, 0 deletions