freeze.adb (Check_Component_Storage_Order): Skip a record component if it has Complex...
authorEric Botcazou <ebotcazou@adacore.com>
Mon, 26 Oct 2015 10:47:56 +0000 (10:47 +0000)
committerArnaud Charlet <charlet@gcc.gnu.org>
Mon, 26 Oct 2015 10:47:56 +0000 (11:47 +0100)
commitdc9111cfce884749f12b88d43abb717e6d9d5f27
tree3a8e4a73e537b8da7082b88dde9449f4e308edc0
parent930e85a354290c8c9f5ed5166aa53de4e3f005ef
freeze.adb (Check_Component_Storage_Order): Skip a record component if it has Complex_Representation.

2015-10-26  Eric Botcazou  <ebotcazou@adacore.com>

* freeze.adb (Check_Component_Storage_Order): Skip a record
component if it has Complex_Representation.
(Freeze_Record_Type): If the type has Complex_Representation, skip the
regular treatment of Scalar_Storage_Order attribute and instead issue
a warning if it is present.

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