freeze.adb (Freeze_Array_Type): Call Addressable predicate instead of testing for...
authorEric Botcazou <ebotcazou@adacore.com>
Mon, 16 May 2016 11:16:42 +0000 (11:16 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 16 May 2016 11:16:42 +0000 (11:16 +0000)
commit3d626f94a57abb404b6693538471d92977a97567
treec5c51d16287f4734a74cb64a46d33d3b1126fcc9
parentcce309d7ed3fb81d6b587ae06dfb9561039fb8ad
freeze.adb (Freeze_Array_Type): Call Addressable predicate instead of testing for individual sizes.

* freeze.adb (Freeze_Array_Type): Call Addressable predicate instead
of testing for individual sizes.
(Freeze_Entity): Rework implementation of pragma Implicit_Packing for
array types, in particular test for suitable sizes upfront and do not
mimic the processing that will be redone later in Freeze_Array_Type.

From-SVN: r236281
gcc/ada/ChangeLog
gcc/ada/freeze.adb