* exp_ch4.adb (Expand_N_Indexed_Component): Active synchronization if
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 17 Feb 2016 09:21:58 +0000 (09:21 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 17 Feb 2016 09:21:58 +0000 (09:21 +0000)
commite0c0515d614f31c776804dadd46b90a1ea98b1b7
tree862c4536dcd6f54e1fa80604d57c816ab0b1ed03
parent7b319ee69267ed2f628b000eb7a788677cab8721
* exp_ch4.adb (Expand_N_Indexed_Component): Active synchronization if
the prefix denotes an entity which Has_Atomic_Components.
* gcc-interface/trans.c (node_is_atomic): Return true if the prefix
denotes an entity which Has_Atomic_Components.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233485 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ada/ChangeLog
gcc/ada/exp_ch4.adb
gcc/ada/gcc-interface/trans.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/atomic8.adb [new file with mode: 0644]