https://gcc.gnu.org/g:789754ce7c8eb0b8c3d7bb4bc93b7d6d6d5448f4

commit r16-9778-g789754ce7c8eb0b8c3d7bb4bc93b7d6d6d5448f4
Author: Eric Botcazou <[email protected]>
Date:   Mon Oct 12 09:07:24 2026 +0200

    Ada: Add missing size clause for Address
    
    gcc/ada/
            * libgnat/system-linux-loongarch.ads (Address): Add size clause.

Diff:
---
 gcc/ada/libgnat/system-linux-loongarch.ads | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gcc/ada/libgnat/system-linux-loongarch.ads 
b/gcc/ada/libgnat/system-linux-loongarch.ads
index 67bbdbc4b351..85f14b72c81b 100644
--- a/gcc/ada/libgnat/system-linux-loongarch.ads
+++ b/gcc/ada/libgnat/system-linux-loongarch.ads
@@ -106,6 +106,8 @@ package System is
 private
 
    type Address is mod Memory_Size;
+   for Address'Size use Standard'Address_Size;
+
    Null_Address : constant Address := 0;
 
    --------------------------------------

Reply via email to