[Ada] Simplify statically known Max_Size_In_Storage_Elements attribute in more cases
authorSteve Baird <baird@adacore.com>
Wed, 13 May 2020 17:38:35 +0000 (10:38 -0700)
committerPierre-Marie de Rodat <derodat@adacore.com>
Tue, 7 Jul 2020 09:26:58 +0000 (05:26 -0400)
commit1c4b5a795ad772b0d80d18757593808044b14e90
treec52d861646b30eadea9c30d169d76127e9de4d37
parent865ec5b024b21e3fe3fa764068f44ca315a7af63
[Ada] Simplify statically known Max_Size_In_Storage_Elements attribute in more cases

gcc/ada/

* sem_attr.adb (Eval_Attribute): Generalize static evaluation of
Size attribute references to also handle
Max_Size_In_Storage_Elements references.
gcc/ada/sem_attr.adb