[Ada] Small cleanup in the attribute code of the expander
authorEric Botcazou <ebotcazou@adacore.com>
Thu, 23 Apr 2020 17:33:47 +0000 (19:33 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Thu, 18 Jun 2020 09:08:32 +0000 (05:08 -0400)
commit3874e79d94ef6b8adb99373f2780847633021d16
treedf0056c4bfd21a4e64693cd2a76579ec9614c882
parent13175003d4aecbb1cb8f6e5707c22d318bd0f2a0
[Ada] Small cleanup in the attribute code of the expander

2020-06-18  Eric Botcazou  <ebotcazou@adacore.com>

gcc/ada/

* exp_attr.adb (Analyze_Attribute) <Asm_{In,Out}put>: Alphabetize.
<Component_Size>: Add check for universal integer attribute.
<Aft>, <Bit_Order>, <Definite>, <Max_Alignment_For_Allocation>,
<Scalar_Storage_Order>: Raise Program_Error on them.
* sem_attr.adb (Eval_Attribute) <Component_Size>: Add comment on
the packed array case.
gcc/ada/exp_attr.adb
gcc/ada/sem_attr.adb