diff options
author | Thomas Quinot <quinot@adacore.com> | 2007-12-13 11:29:38 +0100 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2007-12-13 11:29:38 +0100 |
commit | e116d16c19904addc54c93b3c5b272fb414c2f99 (patch) | |
tree | 1ced1ee74452fbb0a5d7f3dd28fda1ea8db636e8 /gcc/ada/sinput.adb | |
parent | b26b5a8f52b45dcbe796cb472997b844b5b22c5d (diff) | |
download | gcc-e116d16c19904addc54c93b3c5b272fb414c2f99.zip gcc-e116d16c19904addc54c93b3c5b272fb414c2f99.tar.gz gcc-e116d16c19904addc54c93b3c5b272fb414c2f99.tar.bz2 |
sem_ch10.adb (Check_Private_Child_Unit): A non-private library level subprogram body that acts as its own spec may not...
2007-12-06 Thomas Quinot <quinot@adacore.com>
Ed Schonberg <schonberg@adacore.com>
* sem_ch10.adb (Check_Private_Child_Unit): A non-private library level
subprogram body that acts as its own spec may not have a non-private
WITH clause on a private sibling.
(Build_Unit_Name): If the parent unit in the name in a with_clause on a
child unit is a renaming, create an implicit with_clause on that
parent, and not on the unit it renames, to prevent visibility errors
in the current unit.
From-SVN: r130850
Diffstat (limited to 'gcc/ada/sinput.adb')
0 files changed, 0 insertions, 0 deletions