]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/ada/exp_ch4.adb
[multiple changes]
authorArnaud Charlet <charlet@gcc.gnu.org>
Wed, 28 Oct 2009 13:41:05 +0000 (14:41 +0100)
committerArnaud Charlet <charlet@gcc.gnu.org>
Wed, 28 Oct 2009 13:41:05 +0000 (14:41 +0100)
commit5f3f175d79b2263927f1a4b84db71fb61a71d0e1
tree0ec6ddca28d1acb07647a4b52045e1a5b622bdb8
parentb87971f33ef5446f674fb9f80c6ff16e82145ee1
[multiple changes]

2009-10-28  Thomas Quinot  <quinot@adacore.com>

* exp_ch4.adb (Expand_N_Type_Conversion): Perform Integer promotion for
the operand of the unary minus and ABS operators.

* sem_type.adb (Covers): A concurrent type and its corresponding record
type are compatible.
* exp_attr.adb (Expand_N_Attribute_Reference): Do not rewrite a 'Access
attribute reference for the current instance of a protected type while
analyzing an access discriminant constraint in a component definition.
Such a reference is handled in the corresponding record's init proc,
while initializing the constrained component.
* exp_ch9.adb (Expand_N_Protected_Type_Declaration): When creating the
corresponding record type, propagate components'
Has_Per_Object_Constraint flag.
* exp_ch3.adb (Build_Init_Procedure.Build_Init_Statements):
For a concurrent type, set up concurrent aspects before initializing
components with a per object constrain, because they may be controlled,
and their initialization may call entries or protected subprograms of
the enclosing concurrent object.

2009-10-28  Emmanuel Briot  <briot@adacore.com>

* prj-nmsc.adb (Add_If_Not_In_List): New subprogram, for better sharing
of code.
(Find_Source_Dirs): resolve links if Opt.Follow_Links_For_Dirs when
processing the directories specified explicitly in the project file.

From-SVN: r153657
gcc/ada/ChangeLog
gcc/ada/exp_attr.adb
gcc/ada/exp_ch3.adb
gcc/ada/exp_ch4.adb
gcc/ada/exp_ch9.adb
gcc/ada/prj-nmsc.adb
gcc/ada/sem_type.adb