[Ada] Fix alignment warning in System.Fat_Gen unit

gcc/ada/

	* libgnat/s-fatgen.adb (Tiny80): Add alignment clause.
This commit is contained in:
Eric Botcazou 2020-11-22 12:00:02 +01:00 committed by Pierre-Marie de Rodat
parent b934866055
commit 90b2d3fafb
1 changed files with 1 additions and 0 deletions

View File

@ -68,6 +68,7 @@ package body System.Fat_Gen is
Tiny80 : constant array (1 .. 2) of Interfaces.Unsigned_64 :=
(1 * Standard'Default_Bit_Order,
2**48 * (1 - Standard'Default_Bit_Order));
for Tiny80'Alignment use Standard'Maximum_Alignment;
-- We cannot use the direct declaration because it cannot be translated
-- into C90, as the hexadecimal floating constants were introduced in C99.
-- So we work around this by using an overlay of the integer constant.