exp_ch2.adb (Expand_Entity_Reference): Extend handling of atomic sync to type case.
authorRobert Dewar <dewar@adacore.com>
Fri, 4 Nov 2011 10:58:44 +0000 (10:58 +0000)
committerArnaud Charlet <charlet@gcc.gnu.org>
Fri, 4 Nov 2011 10:58:44 +0000 (11:58 +0100)
commitfb5d63c68a9b1fdc2a126fc4cc6cab86cf90f743
tree4fb7d2b99ab6a632f2c8d21830170c4d8019ef8f
parentc2d1a4747cf6d6b98813ca855888dd246fce3013
exp_ch2.adb (Expand_Entity_Reference): Extend handling of atomic sync to type case.

2011-11-04  Robert Dewar  <dewar@adacore.com>

* exp_ch2.adb (Expand_Entity_Reference): Extend handling of
atomic sync to type case.
* sem_prag.adb (Process_Suppress_Unsuppress): Atomic Sync can
apply to types.

From-SVN: r180938
gcc/ada/ChangeLog
gcc/ada/exp_ch2.adb
gcc/ada/sem_prag.adb