2011-08-29 Ed Schonberg <schonberg@adacore.com>
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 29 Aug 2011 08:56:40 +0000 (08:56 +0000)
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 29 Aug 2011 08:56:40 +0000 (08:56 +0000)
commitdf12d5988f96c524f2eff44a56c06d51dddaad22
tree053d7f2627ce5d5732ccbfc23c0ee805a8600855
parente84d6abcf84b2260742abae2138aeebb0b148f2e
2011-08-29  Ed Schonberg  <schonberg@adacore.com>

* atree.ads, atree.adb (Copy_Separate_List): New function that applies
Copy_Separate_Tree to a list of nodes. Used to create disjoint copies
of statement lists that may contain local declarations.
(Expand_N_Timed_Entry_Call): Use Copy_Separate_List to duplicate the
triggering statements needed for the expansion of this construct, when
the trigger is a dispatching call to a synchronized primitive.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178169 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ada/ChangeLog
gcc/ada/atree.adb
gcc/ada/atree.ads
gcc/ada/exp_ch9.adb