public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-904] [Ada] Combine system.ads files - arm and aarch64 qnx
@ 2022-06-01  8:46 Pierre-Marie de Rodat
  0 siblings, 0 replies; only message in thread
From: Pierre-Marie de Rodat @ 2022-06-01  8:46 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:df014c92307c8f65641776602a0242ea4b004309

commit r13-904-gdf014c92307c8f65641776602a0242ea4b004309
Author: Doug Rupp <rupp@adacore.com>
Date:   Mon May 9 11:37:17 2022 -0700

    [Ada] Combine system.ads files - arm and aarch64 qnx
    
    Systemitize Word_Size and Memory_Size declarations rather than hard code
    with numerical values or OS specific Long_Integer size.
    
    gcc/ada/
    
            * libgnat/system-qnx-arm.ads (Memory_Size): Compute based on
            Word_Size.

Diff:
---
 gcc/ada/libgnat/system-qnx-arm.ads | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/ada/libgnat/system-qnx-arm.ads b/gcc/ada/libgnat/system-qnx-arm.ads
index 5f4b90e7194..749384f9fd1 100644
--- a/gcc/ada/libgnat/system-qnx-arm.ads
+++ b/gcc/ada/libgnat/system-qnx-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-01  8:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-01  8:46 [gcc r13-904] [Ada] Combine system.ads files - arm and aarch64 qnx 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).