aboutsummaryrefslogtreecommitdiff
path: root/gcc/cgraph.c
diff options
context:
space:
mode:
authorJavier Miranda <miranda@adacore.com>2005-03-18 12:48:05 +0100
committerArnaud Charlet <charlet@gcc.gnu.org>2005-03-18 12:48:05 +0100
commit7b1da1d017af4e414586eb027f06eb9b8c41fcdd (patch)
treed2cdf3aa14acc3f051135a94e65cead5681dcdf6 /gcc/cgraph.c
parent5e77b60afdb1ef7b0a6b3a711bd71560dc7c00d4 (diff)
downloadgcc-7b1da1d017af4e414586eb027f06eb9b8c41fcdd.zip
gcc-7b1da1d017af4e414586eb027f06eb9b8c41fcdd.tar.gz
gcc-7b1da1d017af4e414586eb027f06eb9b8c41fcdd.tar.bz2
einfo.adb (First_Private_Entity, [...]): Addition of one barrier to avoid wrong usage of this attribute.
2005-03-17 Javier Miranda <miranda@adacore.com> * einfo.adb (First_Private_Entity, Set_First_Private_Entity): Addition of one barrier to avoid wrong usage of this attribute. * sem_ch12.adb (Formal_Entity): Fix erroneous usage of the attribute First_Private_Entity. * sem_ch7.adb (Install_Visible_Declarations): Add a barrier to protect the subprogram against wrong usage. Adapt the code to traverse the entities in the scope of a record_type because in addition to its usage regarding packages, this subprogram is also called by Expand_N_Freeze_Entity to install the visible declarations of the enclosing scope of a record_type_with_private to establish the proper visibility before freezing the entity and related subprograms. From-SVN: r96664
Diffstat (limited to 'gcc/cgraph.c')
0 files changed, 0 insertions, 0 deletions