public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-933] [Ada] Combine system.ads files - arm and aarch64 linux
@ 2022-06-02 9:09 Pierre-Marie de Rodat
0 siblings, 0 replies; only message in thread
From: Pierre-Marie de Rodat @ 2022-06-02 9:09 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:d1ae37393be7f3fae1cbae075c8302f8d1847965
commit r13-933-gd1ae37393be7f3fae1cbae075c8302f8d1847965
Author: Doug Rupp <rupp@adacore.com>
Date: Tue May 10 15:03:58 2022 -0700
[Ada] Combine system.ads files - arm and aarch64 linux
Systemitize Word_Size and Memory_Size declarations rather than hard code
with numerical values or OS specific Long_Integer size.
gcc/ada/
* libgnat/system-linux-arm.ads (Memory_Size): Compute based on
Word_Size.
Diff:
---
gcc/ada/libgnat/system-linux-arm.ads | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/ada/libgnat/system-linux-arm.ads b/gcc/ada/libgnat/system-linux-arm.ads
index 6f2cb247fec..996d40727fc 100644
--- a/gcc/ada/libgnat/system-linux-arm.ads
+++ b/gcc/ada/libgnat/system-linux-arm.ads
@@ -70,7 +70,7 @@ package System is
Storage_Unit : constant := 8;
Word_Size : constant := Standard'Word_Size;
- Memory_Size : constant := 2 ** Long_Integer'Size;
+ Memory_Size : constant := 2 ** Word_Size;
-- Address comparison
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-06-02 9:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-02 9:09 [gcc r13-933] [Ada] Combine system.ads files - arm and aarch64 linux Pierre-Marie de Rodat
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).