s-taasde.adb (Timer_Queue): Don't use a build-in-place function call to initialize...
authorBob Duff <duff@adacore.com>
Wed, 30 Jul 2014 13:50:25 +0000 (13:50 +0000)
committerArnaud Charlet <charlet@gcc.gnu.org>
Wed, 30 Jul 2014 13:50:25 +0000 (15:50 +0200)
commitfccaf220f3c01660f800b6ea055463823051904c
treedaa3a77afe6501626afff4912a34ea91ed0172a9
parent3aac5551307840a5063d13759922cf334db2caeb
s-taasde.adb (Timer_Queue): Don't use a build-in-place function call to initialize the Timer_Queue.

2014-07-30  Bob Duff  <duff@adacore.com>

* s-taasde.adb (Timer_Queue): Don't use a
build-in-place function call to initialize the Timer_Queue.
* s-traent.adb, s-traent.ads, s-traent-vms.adb, s-traent-vms.ads:
Turn off polling in these units, because otherwise we get
elaboration circularities with Ada.Exceptions when the -gnatP
switch is used.
* s-tassta.adb (Create_Task): Make sure independent tasks
are created with Parent = Environment_Task. This was not true,
for example, in s-interr.adb, when Interrupt_Manager does "new
Server_Task"; the Server_Task had Parent = Interrupt_Manager,
which is wrong because the master is determined by the access
type, which is at library level.
* s-tasuti.adb (Make_Independent): Avoid setting Parent; it is
now set correctly by Create_Task.
(Make_Passive): Remove the workaround for the race condition in
Make_Independent.
* frontend.adb (Frontend): Revert to previous method of detecting
temporary configuration pragma files, recognizing such files by
".tmp" in the name. This is more general than detecting pragmas
Source_File_Name_Project, because it allows any tool to use
this naming convention, no matter the content of the file.
* gnat_ugn.texi: Document this naming convention.

From-SVN: r213269
gcc/ada/ChangeLog
gcc/ada/frontend.adb
gcc/ada/gnat_ugn.texi
gcc/ada/s-taasde.adb
gcc/ada/s-tassta.adb
gcc/ada/s-tasuti.adb
gcc/ada/s-traent-vms.adb
gcc/ada/s-traent-vms.ads
gcc/ada/s-traent.adb
gcc/ada/s-traent.ads