sem_ch3.adb (Access_Definition): If the access type is the return result of a protect...
authorEd Schonberg <schonberg@adacore.com>
Wed, 26 Mar 2008 07:38:40 +0000 (08:38 +0100)
committerArnaud Charlet <charlet@gcc.gnu.org>
Wed, 26 Mar 2008 07:38:40 +0000 (08:38 +0100)
commitdf89ab66c78f31b9365a2d051ba72e62d992fe49
tree3ec3ff84f377e5a9fd2ca954a00f375ec9408452
parent06eab6a7fadd9a6502a7fe439140f8ac1091231e
sem_ch3.adb (Access_Definition): If the access type is the return result of a protected function...

2008-03-26  Ed Schonberg  <schonberg@adacore.com>

* sem_ch3.adb (Access_Definition): If the access type is the return
result of a protected function, create an itype reference for it
because usage will be in an inner scope from the point of declaration.
(Build_Derived_Record_Type): Inherit Reverse_Bit_Order and
OK_To_Reorder_Components.
(Make_Index): If an overloaded range includes a universal integer
interpretation, resolve to Standard.Integer.
(Analyze_Subtype_Indication): Copy Convention to subtype
(Check_Abstract_Interfaces): Complete semantic checks on the legality of
limited an synchronized progenitors in type declaration and private
extension declarations.

* exp_ch13.adb (Expand_N_Freeze_Entity): If the scope of the entity is a
protected subprogram body, determine proper scope from subprogram
declaration.

From-SVN: r133561
gcc/ada/exp_ch13.adb
gcc/ada/sem_ch3.adb