[multiple changes]
authorArnaud Charlet <charlet@gcc.gnu.org>
Tue, 12 May 2015 08:13:39 +0000 (10:13 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Tue, 12 May 2015 08:13:39 +0000 (10:13 +0200)
commite23e04db7b649db2d3f575f883385d0aa83aa64f
treeec06da665bfd8a1db6165c99fd1245c63b16e2ca
parent473469230a0224c19584317db7c2b9e9bb07c5c1
[multiple changes]

2015-05-12  Robert Dewar  <dewar@adacore.com>

* sem_type.adb, sem_ch10.adb, freeze.adb, sem_ch6.adb, exp_disp.adb:
Minor reformatting.

2015-05-12  Bob Duff  <duff@adacore.com>

* exp_attr.adb (Size): Remove unnecessary check for types with
unknown discriminants. That was causing the compiler to build
a function call _size(T), where T is a type, not an object.

2015-05-12  Ed Schonberg  <schonberg@adacore.com>

* sem_ch4.adb (Extended_Primitive_Ops): Exclude overriding
primitive operations of a type extension declared in the package
body, to prevent duplicates in extended list.

2015-05-12  Ed Schonberg  <schonberg@adacore.com>

* sem_ch3.adb (Analyze_Component_Declaration): If the component is
an unconstrained synchronized type with discriminants, create a
constrained default subtype for it, so that the enclosing record
can be given the proper size.
* sem_util.adb (Build_Default_Subtype): If the subtype is created
for a record discriminant, do not analyze the declarztion at
once because it is added to the freezing actions of the enclosing
record type.

From-SVN: r223039
gcc/ada/ChangeLog
gcc/ada/exp_attr.adb
gcc/ada/exp_disp.adb
gcc/ada/freeze.adb
gcc/ada/sem_ch10.adb
gcc/ada/sem_ch3.adb
gcc/ada/sem_ch4.adb
gcc/ada/sem_ch6.adb
gcc/ada/sem_type.adb
gcc/ada/sem_util.adb