OSDN Git Service

2010-06-22 Robert Dewar <dewar@adacore.com>
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 22 Jun 2010 17:29:41 +0000 (17:29 +0000)
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 22 Jun 2010 17:29:41 +0000 (17:29 +0000)
commit5d9b4687bb8d1a2d2747dcd2ba70631cfb289c8d
treef457566fb8fc18443973ce2b98d400affc59113c
parent1473b207ced691551e6d534710e14193a555323f
2010-06-22  Robert Dewar  <dewar@adacore.com>

* errout.adb (Finalize): Set Prev pointers.
(Finalize): Delete continuations for deletion by warnings off(str).
* erroutc.ads: Add Prev pointer to error message structure.

2010-06-22  Ed Schonberg  <schonberg@adacore.com>

* sem.adb (Do_Unit_And_Dependents): If the spec of the main unit is a
child unit, examine context of parent units to locate instantiated
generics whose bodies may be needed.
* sem_ch12.adb: (Mark_Context): if the enclosing unit does not have a
with_clause for the instantiated generic, examine the context of its
parents, to set Withed_Body flag, so that it can be visited earlier.
* exp_ch4.adb (Expand_N_Op_Not): If this is a VMS operator applied to
an unsigned type, use a type of the proper size for the intermediate
value, to prevent alignment problems on unchecked conversion.

2010-06-22  Geert Bosch  <bosch@adacore.com>

* s-rannum.ads Change Generator type to be self-referential to allow
Random to update its argument. Use "in" mode for the generator in the
Reset procedures to allow them to be called from the Ada.Numerics
packages without tricks.
* s-rannum.adb: Use the self-referencing argument to get write access
to the internal state of the random generator.
* a-nudira.ads: Make Generator a derived type of
System.Random_Numbers.Generator.
* a-nudira.adb: Remove use of 'Unrestricted_Access.
Put subprograms in alpha order and add headers.
* g-mbdira.ads: Change Generator type to be self-referential.
* g-mbdira.adb: Remove use of 'Unrestricted_Access.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@161215 138bc75d-0d04-0410-961f-82ee72b054a4
14 files changed:
gcc/ada/ChangeLog
gcc/ada/a-nudira.adb
gcc/ada/a-nudira.ads
gcc/ada/a-nuflra.adb
gcc/ada/a-nuflra.ads
gcc/ada/errout.adb
gcc/ada/erroutc.ads
gcc/ada/exp_ch4.adb
gcc/ada/g-mbdira.adb
gcc/ada/g-mbdira.ads
gcc/ada/s-rannum.adb
gcc/ada/s-rannum.ads
gcc/ada/sem.adb
gcc/ada/sem_ch12.adb