]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
system-unixware.ads, [...]: Add line defining Compiler_System_Version to be False.
authorRobert Dewar <dewar@adacore.com>
Tue, 15 Mar 2005 15:45:59 +0000 (16:45 +0100)
committerArnaud Charlet <charlet@gcc.gnu.org>
Tue, 15 Mar 2005 15:45:59 +0000 (16:45 +0100)
2005-03-08  Robert Dewar  <dewar@adacore.com>

* system-unixware.ads, system-linux-ia64.ads, system-freebsd-x86.ads,
system-lynxos-ppc.ads, system-lynxos-x86.ads, system-linux-x86_64.ads,
system-tru64.ads, system-aix.ads, system-vxworks-sparcv9.ads,
system-vxworks-xscale.ads, system-solaris-x86.ads, system-irix-o32.ads,
system-irix-n32.ads, system-hpux.ads, system-vxworks-m68k.ads,
system-linux-x86.ads, system-vxworks-mips.ads, system-os2.ads,
system-interix.ads, system-solaris-sparc.ads,
system-solaris-sparcv9.ads, system-vms.ads, system-mingw.ads,
system-vms-zcx.ads, system-vxworks-ppc.ads, system-vxworks-alpha.ads,
system-vms_64.ads, system-darwin-ppc.ads, system-vxworks-x86.ads,
system-linux-ppc.ads, system-linux-alpha.ads, system-linux-sparc.ads,
system-linux-s390.ads, system-linux-s390x.ads: Add line defining
Compiler_System_Version to be False.

* opt.ads: Add new flag Opt.Address_Is_Private

* targparm.ads, targparm.adb: Set new flag Opt.Address_Is_Private
Add new parameter Compiler_System_Version to avoid checking for
completeness of parameters when compiler is compiling itself.
Allows old versions of GNAT to be compiled with new compiler.

From-SVN: r96478

37 files changed:
gcc/ada/opt.ads
gcc/ada/system-aix.ads
gcc/ada/system-darwin-ppc.ads
gcc/ada/system-freebsd-x86.ads
gcc/ada/system-hpux.ads
gcc/ada/system-interix.ads
gcc/ada/system-irix-n32.ads
gcc/ada/system-irix-o32.ads
gcc/ada/system-linux-alpha.ads
gcc/ada/system-linux-ia64.ads
gcc/ada/system-linux-ppc.ads
gcc/ada/system-linux-s390.ads
gcc/ada/system-linux-s390x.ads
gcc/ada/system-linux-sparc.ads
gcc/ada/system-linux-x86.ads
gcc/ada/system-linux-x86_64.ads
gcc/ada/system-lynxos-ppc.ads
gcc/ada/system-lynxos-x86.ads
gcc/ada/system-mingw.ads
gcc/ada/system-os2.ads
gcc/ada/system-solaris-sparc.ads
gcc/ada/system-solaris-sparcv9.ads
gcc/ada/system-solaris-x86.ads
gcc/ada/system-tru64.ads
gcc/ada/system-unixware.ads
gcc/ada/system-vms-zcx.ads
gcc/ada/system-vms.ads
gcc/ada/system-vms_64.ads
gcc/ada/system-vxworks-alpha.ads
gcc/ada/system-vxworks-m68k.ads
gcc/ada/system-vxworks-mips.ads
gcc/ada/system-vxworks-ppc.ads
gcc/ada/system-vxworks-sparcv9.ads
gcc/ada/system-vxworks-x86.ads
gcc/ada/system-vxworks-xscale.ads
gcc/ada/targparm.adb
gcc/ada/targparm.ads

index 1627831ab1732e2dfa37161b758b224f729a06cb..52f152203f3186b5a8469c45f25280ffa16dbb46 100644 (file)
@@ -104,6 +104,10 @@ package Opt is
    --  GNAT
    --  Set False to disable address clause warnings
 
+   Address_Is_Private : Boolean := False;
+   --  GNAT, GNATBIND
+   --  Set True if package System has the line "type Address is private;"
+
    All_Errors_Mode : Boolean := False;
    --  GNAT
    --  Flag set to force display of multiple errors on a single line and
index c80241b3311843e39b62585b1ab8964aaf687555..9129cbd4e6155bac1fa9ec2076e5b88d54f697ca 100644 (file)
@@ -7,7 +7,7 @@
 --                                 S p e c                                  --
 --                            (AIX/PPC Version)                             --
 --                                                                          --
---          Copyright (C) 1992-2004 Free Software Foundation, Inc.          --
+--          Copyright (C) 1992-2005 Free Software Foundation, Inc.          --
 --                                                                          --
 -- This specification is derived from the Ada Reference Manual for use with --
 -- GNAT. The copyright notice above, and the license provisions that follow --
@@ -118,6 +118,7 @@ private
    Backend_Divide_Checks     : constant Boolean := False;
    Backend_Overflow_Checks   : constant Boolean := False;
    Command_Line_Args         : constant Boolean := True;
+   Compiler_System_Version   : constant Boolean := False;
    Configurable_Run_Time     : constant Boolean := False;
    Denorm                    : constant Boolean := True;
    Duration_32_Bits          : constant Boolean := False;
index e36d80521901b41c9697a2e243a64162c617fecf..cc25af0565ecaa33f89e6c204e5110b27601ae34 100644 (file)
@@ -7,7 +7,7 @@
 --                                 S p e c                                  --
 --                          (Darwin/PPC Version)                            --
 --                                                                          --
---          Copyright (C) 1992-2004 Free Software Foundation, Inc.          --
+--          Copyright (C) 1992-2005 Free Software Foundation, Inc.          --
 --                                                                          --
 -- This specification is derived from the Ada Reference Manual for use with --
 -- GNAT. The copyright notice above, and the license provisions that follow --
@@ -144,6 +144,7 @@ private
    Backend_Divide_Checks     : constant Boolean := False;
    Backend_Overflow_Checks   : constant Boolean := False;
    Command_Line_Args         : constant Boolean := True;
+   Compiler_System_Version   : constant Boolean := False;
    Configurable_Run_Time     : constant Boolean := False;
    Denorm                    : constant Boolean := True;
    Duration_32_Bits          : constant Boolean := False;
index 25b72ca1d5960ec33e2a0a87e850f91ec4996b62..3e9d1093f91bbf4380d06c95a33eaf2ca574b01e 100644 (file)
@@ -7,7 +7,7 @@
 --                                 S p e c                                  --
 --                           (FreeBSD/x86 Version)                          --
 --                                                                          --
---          Copyright (C) 1992-2004 Free Software Foundation, Inc.          --
+--          Copyright (C) 1992-2005 Free Software Foundation, Inc.          --
 --                                                                          --
 -- This specification is derived from the Ada Reference Manual for use with --
 -- GNAT. The copyright notice above, and the license provisions that follow --
@@ -118,6 +118,7 @@ private
    Backend_Divide_Checks     : constant Boolean := False;
    Backend_Overflow_Checks   : constant Boolean := False;
    Command_Line_Args         : constant Boolean := True;
+   Compiler_System_Version   : constant Boolean := False;
    Configurable_Run_Time     : constant Boolean := False;
    Denorm                    : constant Boolean := True;
    Duration_32_Bits          : constant Boolean := False;
index e9664f09a4514f0af0cfc5efba9334f1693221ec..5252fc5c393191475d90ad6daabb31fa29258458 100644 (file)
@@ -7,7 +7,7 @@
 --                                 S p e c                                  --
 --                             (HP-UX Version)                              --
 --                                                                          --
---          Copyright (C) 1992-2004 Free Software Foundation, Inc.          --
+--          Copyright (C) 1992-2005 Free Software Foundation, Inc.          --
 --                                                                          --
 -- This specification is derived from the Ada Reference Manual for use with --
 -- GNAT. The copyright notice above, and the license provisions that follow --
@@ -118,6 +118,7 @@ private
    Backend_Divide_Checks     : constant Boolean := False;
    Backend_Overflow_Checks   : constant Boolean := False;
    Command_Line_Args         : constant Boolean := True;
+   Compiler_System_Version   : constant Boolean := False;
    Configurable_Run_Time     : constant Boolean := False;
    Denorm                    : constant Boolean := True;
    Duration_32_Bits          : constant Boolean := False;
index d8d73a1e5072ee8ae611ef438412ac26dc5e3f44..2879138bdb22cce7beebc3a1c75f6743e4d4d657 100644 (file)
@@ -7,7 +7,7 @@
 --                                 S p e c                                  --
 --                        (OpenNT/Interix Version)                          --
 --                                                                          --
---          Copyright (C) 1992-2004 Free Software Foundation, Inc.          --
+--          Copyright (C) 1992-2005 Free Software Foundation, Inc.          --
 --                                                                          --
 -- This specification is derived from the Ada Reference Manual for use with --
 -- GNAT. The copyright notice above, and the license provisions that follow --
@@ -118,6 +118,7 @@ private
    Backend_Divide_Checks     : constant Boolean := False;
    Backend_Overflow_Checks   : constant Boolean := False;
    Command_Line_Args         : constant Boolean := True;
+   Compiler_System_Version   : constant Boolean := False;
    Configurable_Run_Time     : constant Boolean := False;
    Denorm                    : constant Boolean := True;
    Duration_32_Bits          : constant Boolean := False;
index 2403db75db6dfeb0345683c678486c7e6866df1a..fcfd0baebf405b398ec41a45cc7be4b054caa66b 100644 (file)
@@ -7,7 +7,7 @@
 --                                 S p e c                                  --
 --                           (SGI Irix, n32 ABI)                            --
 --                                                                          --
---          Copyright (C) 1992-2004 Free Software Foundation, Inc.          --
+--          Copyright (C) 1992-2005 Free Software Foundation, Inc.          --
 --                                                                          --
 -- This specification is derived from the Ada Reference Manual for use with --
 -- GNAT. The copyright notice above, and the license provisions that follow --
@@ -130,6 +130,7 @@ private
    Backend_Divide_Checks     : constant Boolean := False;
    Backend_Overflow_Checks   : constant Boolean := False;
    Command_Line_Args         : constant Boolean := True;
+   Compiler_System_Version   : constant Boolean := False;
    Configurable_Run_Time     : constant Boolean := False;
    Denorm                    : constant Boolean := False;
    Duration_32_Bits          : constant Boolean := False;
index b053e01e0ca2b500b70fa1dbce1177ba37cf98c6..5a69f1231142ae7586dff8aa46d73a18370e0644 100644 (file)
@@ -7,7 +7,7 @@
 --                                 S p e c                                  --
 --                           (SGI Irix, o32 ABI)                            --
 --                                                                          --
---          Copyright (C) 1992-2004 Free Software Foundation, Inc.          --
+--          Copyright (C) 1992-2005 Free Software Foundation, Inc.          --
 --                                                                          --
 -- This specification is derived from the Ada Reference Manual for use with --
 -- GNAT. The copyright notice above, and the license provisions that follow --
@@ -118,6 +118,7 @@ private
    Backend_Divide_Checks     : constant Boolean := False;
    Backend_Overflow_Checks   : constant Boolean := False;
    Command_Line_Args         : constant Boolean := True;
+   Compiler_System_Version   : constant Boolean := False;
    Configurable_Run_Time     : constant Boolean := False;
    Denorm                    : constant Boolean := False;
    Duration_32_Bits          : constant Boolean := False;
index 83c486ee45b829f25e6e378acb0eca5325ac3135..67372429dd8099f17cea3a28c66e62a13268f538 100644 (file)
@@ -7,7 +7,7 @@
 --                                 S p e c                                  --
 --                         (GNU-Linux/ia64 Version)                         --
 --                                                                          --
---          Copyright (C) 1992-2004 Free Software Foundation, Inc.          --
+--          Copyright (C) 1992-2005 Free Software Foundation, Inc.          --
 --                                                                          --
 -- This specification is derived from the Ada Reference Manual for use with --
 -- GNAT. The copyright notice above, and the license provisions that follow --
@@ -118,6 +118,7 @@ private
    Backend_Divide_Checks     : constant Boolean := False;
    Backend_Overflow_Checks   : constant Boolean := False;
    Command_Line_Args         : constant Boolean := True;
+   Compiler_System_Version   : constant Boolean := False;
    Configurable_Run_Time     : constant Boolean := False;
    Denorm                    : constant Boolean := True;
    Duration_32_Bits          : constant Boolean := False;
index 510673e9d3f95c01efd258ab03501b1a7caa56f0..bf8dcb16898d72050702196bd68dd4461bbcf76d 100644 (file)
@@ -7,7 +7,7 @@
 --                                 S p e c                                  --
 --                         (GNU-Linux/ia64 Version)                         --
 --                                                                          --
---          Copyright (C) 1992-2004 Free Software Foundation, Inc.          --
+--          Copyright (C) 1992-2005 Free Software Foundation, Inc.          --
 --                                                                          --
 -- This specification is derived from the Ada Reference Manual for use with --
 -- GNAT. The copyright notice above, and the license provisions that follow --
@@ -118,6 +118,7 @@ private
    Backend_Divide_Checks     : constant Boolean := False;
    Backend_Overflow_Checks   : constant Boolean := False;
    Command_Line_Args         : constant Boolean := True;
+   Compiler_System_Version   : constant Boolean := False;
    Configurable_Run_Time     : constant Boolean := False;
    Denorm                    : constant Boolean := True;
    Duration_32_Bits          : constant Boolean := False;
index f1b7bfa9cb6e47986282c668da7e0664b0f72736..8fe222bb56b314eb78c41cb28d9bb5500d55affa 100644 (file)
@@ -7,7 +7,7 @@
 --                                 S p e c                                  --
 --                          (GNU-Linux/PPC Version)                         --
 --                                                                          --
---          Copyright (C) 1992-2004 Free Software Foundation, Inc.          --
+--          Copyright (C) 1992-2005 Free Software Foundation, Inc.          --
 --                                                                          --
 -- This specification is derived from the Ada Reference Manual for use with --
 -- GNAT. The copyright notice above, and the license provisions that follow --
@@ -118,6 +118,7 @@ private
    Backend_Divide_Checks     : constant Boolean := False;
    Backend_Overflow_Checks   : constant Boolean := False;
    Command_Line_Args         : constant Boolean := True;
+   Compiler_System_Version   : constant Boolean := False;
    Configurable_Run_Time     : constant Boolean := False;
    Denorm                    : constant Boolean := True;
    Duration_32_Bits          : constant Boolean := False;
index 2e2fc678c48e5a96012e885fe8b3cc9eca4d9f81..c5ba2bb7f31f6462e8660a8adaaf6fca8ed886ac 100644 (file)
@@ -7,7 +7,7 @@
 --                                 S p e c                                  --
 --                          (GNU-Linux/s390 Version)                        --
 --                                                                          --
---          Copyright (C) 1992-2003 Free Software Foundation, Inc.          --
+--          Copyright (C) 1992-2005 Free Software Foundation, Inc.          --
 --                                                                          --
 -- This specification is derived from the Ada Reference Manual for use with --
 -- GNAT. The copyright notice above, and the license provisions that follow --
@@ -118,6 +118,7 @@ private
    Backend_Divide_Checks     : constant Boolean := False;
    Backend_Overflow_Checks   : constant Boolean := False;
    Command_Line_Args         : constant Boolean := True;
+   Compiler_System_Version   : constant Boolean := False;
    Configurable_Run_Time     : constant Boolean := False;
    Denorm                    : constant Boolean := True;
    Duration_32_Bits          : constant Boolean := False;
index 8e81e121d37d0df1fe68f7cfffc36117b78cfa8e..2c16170bf46ec1da1fe52b493bda6e5cd4504bff 100644 (file)
@@ -7,7 +7,7 @@
 --                                 S p e c                                  --
 --                          (GNU-Linux/s390x Version)                       --
 --                                                                          --
---          Copyright (C) 1992-2003 Free Software Foundation, Inc.          --
+--          Copyright (C) 1992-2005 Free Software Foundation, Inc.          --
 --                                                                          --
 -- This specification is derived from the Ada Reference Manual for use with --
 -- GNAT. The copyright notice above, and the license provisions that follow --
@@ -118,6 +118,7 @@ private
    Backend_Divide_Checks     : constant Boolean := False;
    Backend_Overflow_Checks   : constant Boolean := False;
    Command_Line_Args         : constant Boolean := True;
+   Compiler_System_Version   : constant Boolean := False;
    Configurable_Run_Time     : constant Boolean := False;
    Denorm                    : constant Boolean := True;
    Duration_32_Bits          : constant Boolean := False;
index 048ce9055cda044deb0777f634b734545bf6e53a..382bc0944f7b93129afadb8f70bca0a37b5def22 100644 (file)
@@ -118,6 +118,7 @@ private
    Backend_Divide_Checks     : constant Boolean := False;
    Backend_Overflow_Checks   : constant Boolean := False;
    Command_Line_Args         : constant Boolean := True;
+   Compiler_System_Version   : constant Boolean := False;
    Configurable_Run_Time     : constant Boolean := False;
    Denorm                    : constant Boolean := True;
    Duration_32_Bits          : constant Boolean := False;
index 28edbfecf6768188049b5f6630d07f80aaf55cc3..12a239c462169e86bce0d07a7fdfe7ca8c7abf03 100644 (file)
@@ -7,7 +7,7 @@
 --                                 S p e c                                  --
 --                          (GNU-Linux/x86 Version)                         --
 --                                                                          --
---          Copyright (C) 1992-2004 Free Software Foundation, Inc.          --
+--          Copyright (C) 1992-2005 Free Software Foundation, Inc.          --
 --                                                                          --
 -- This specification is derived from the Ada Reference Manual for use with --
 -- GNAT. The copyright notice above, and the license provisions that follow --
@@ -118,6 +118,7 @@ private
    Backend_Divide_Checks     : constant Boolean := False;
    Backend_Overflow_Checks   : constant Boolean := False;
    Command_Line_Args         : constant Boolean := True;
+   Compiler_System_Version   : constant Boolean := False;
    Configurable_Run_Time     : constant Boolean := False;
    Denorm                    : constant Boolean := True;
    Duration_32_Bits          : constant Boolean := False;
index 99c33dbdb730247b6b2b42919c7b60858cb6013b..01a98aa915f7742b3028fca08699a640e078014e 100644 (file)
@@ -7,7 +7,7 @@
 --                                 S p e c                                  --
 --                          (GNU-Linux/x86-64 Version)                      --
 --                                                                          --
---          Copyright (C) 1992-2004 Free Software Foundation, Inc.          --
+--          Copyright (C) 1992-2005 Free Software Foundation, Inc.          --
 --                                                                          --
 -- This specification is derived from the Ada Reference Manual for use with --
 -- GNAT. The copyright notice above, and the license provisions that follow --
@@ -118,6 +118,7 @@ private
    Backend_Divide_Checks     : constant Boolean := False;
    Backend_Overflow_Checks   : constant Boolean := False;
    Command_Line_Args         : constant Boolean := True;
+   Compiler_System_Version   : constant Boolean := False;
    Configurable_Run_Time     : constant Boolean := False;
    Denorm                    : constant Boolean := True;
    Duration_32_Bits          : constant Boolean := False;
index 9a0bf681ed8cb6a24d9449f7bf1005b8319a0a08..ee2bca8ebf8cfe4414322a8d9901c06ae83675f5 100644 (file)
@@ -7,7 +7,7 @@
 --                                 S p e c                                  --
 --                           (LynxOS PPC Version)                           --
 --                                                                          --
---          Copyright (C) 1992-2004 Free Software Foundation, Inc.          --
+--          Copyright (C) 1992-2005 Free Software Foundation, Inc.          --
 --                                                                          --
 -- This specification is derived from the Ada Reference Manual for use with --
 -- GNAT. The copyright notice above, and the license provisions that follow --
@@ -118,6 +118,7 @@ private
    Backend_Divide_Checks     : constant Boolean := False;
    Backend_Overflow_Checks   : constant Boolean := False;
    Command_Line_Args         : constant Boolean := True;
+   Compiler_System_Version   : constant Boolean := False;
    Configurable_Run_Time     : constant Boolean := False;
    Denorm                    : constant Boolean := True;
    Duration_32_Bits          : constant Boolean := False;
index 0187b381ebf02fde385dbe2f1bf3b449d846f021..4ce8b5d91c84781a0615b37d5d23519afc00df0e 100644 (file)
@@ -7,7 +7,7 @@
 --                                 S p e c                                  --
 --                           (LynxOS x86 Version)                           --
 --                                                                          --
---          Copyright (C) 1992-2004 Free Software Foundation, Inc.          --
+--          Copyright (C) 1992-2005 Free Software Foundation, Inc.          --
 --                                                                          --
 -- This specification is derived from the Ada Reference Manual for use with --
 -- GNAT. The copyright notice above, and the license provisions that follow --
@@ -118,6 +118,7 @@ private
    Backend_Divide_Checks     : constant Boolean := False;
    Backend_Overflow_Checks   : constant Boolean := False;
    Command_Line_Args         : constant Boolean := True;
+   Compiler_System_Version   : constant Boolean := False;
    Configurable_Run_Time     : constant Boolean := False;
    Denorm                    : constant Boolean := True;
    Duration_32_Bits          : constant Boolean := False;
index 4aafd025770ce07feb9e027dc1a33678b634d486..9c07cf4648d5ae07c3a394fd1d66d9137750d9d5 100644 (file)
@@ -7,7 +7,7 @@
 --                                 S p e c                                  --
 --                               (NT Version)                               --
 --                                                                          --
---          Copyright (C) 1992-2004 Free Software Foundation, Inc.          --
+--          Copyright (C) 1992-2005 Free Software Foundation, Inc.          --
 --                                                                          --
 -- This specification is derived from the Ada Reference Manual for use with --
 -- GNAT. The copyright notice above, and the license provisions that follow --
@@ -118,6 +118,7 @@ private
    Backend_Divide_Checks     : constant Boolean := False;
    Backend_Overflow_Checks   : constant Boolean := False;
    Command_Line_Args         : constant Boolean := True;
+   Compiler_System_Version   : constant Boolean := False;
    Configurable_Run_Time     : constant Boolean := False;
    Denorm                    : constant Boolean := True;
    Duration_32_Bits          : constant Boolean := False;
index 53d8b8c1306a22134d70a7c653f08eb55c028c6a..396ec1ff931195f8fb5dbdc110759e7e036486dd 100644 (file)
@@ -7,7 +7,7 @@
 --                                 S p e c                                  --
 --                             (OS/2 Version)                               --
 --                                                                          --
---          Copyright (C) 1992-2004 Free Software Foundation, Inc.          --
+--          Copyright (C) 1992-2005 Free Software Foundation, Inc.          --
 --                                                                          --
 -- This specification is derived from the Ada Reference Manual for use with --
 -- GNAT. The copyright notice above, and the license provisions that follow --
@@ -118,6 +118,7 @@ private
    Backend_Divide_Checks     : constant Boolean := False;
    Backend_Overflow_Checks   : constant Boolean := False;
    Command_Line_Args         : constant Boolean := True;
+   Compiler_System_Version   : constant Boolean := False;
    Configurable_Run_Time     : constant Boolean := False;
    Denorm                    : constant Boolean := True;
    Duration_32_Bits          : constant Boolean := False;
index 397e38f7fa9722d28b6ef3352f9c93c1fa5b9a32..2a34307c181c4613d07198788f21facdafb32d3b 100644 (file)
@@ -7,7 +7,7 @@
 --                                 S p e c                                  --
 --                          (SUN Solaris Version)                           --
 --                                                                          --
---          Copyright (C) 1992-2004 Free Software Foundation, Inc.          --
+--          Copyright (C) 1992-2005 Free Software Foundation, Inc.          --
 --                                                                          --
 -- This specification is derived from the Ada Reference Manual for use with --
 -- GNAT. The copyright notice above, and the license provisions that follow --
@@ -118,6 +118,7 @@ private
    Backend_Divide_Checks     : constant Boolean := False;
    Backend_Overflow_Checks   : constant Boolean := False;
    Command_Line_Args         : constant Boolean := True;
+   Compiler_System_Version   : constant Boolean := False;
    Configurable_Run_Time     : constant Boolean := False;
    Denorm                    : constant Boolean := True;
    Duration_32_Bits          : constant Boolean := False;
index 6f774513f162e3bc2918670b44d19c0eac6bbd92..0ae3797e12e864b937b433768fa626f0b6ab8733 100644 (file)
@@ -7,7 +7,7 @@
 --                                 S p e c                                  --
 --                        (Solaris Sparcv9 Version)                         --
 --                                                                          --
---          Copyright (C) 1992-2004 Free Software Foundation, Inc.          --
+--          Copyright (C) 1992-2005 Free Software Foundation, Inc.          --
 --                                                                          --
 -- This specification is derived from the Ada Reference Manual for use with --
 -- GNAT. The copyright notice above, and the license provisions that follow --
@@ -118,6 +118,7 @@ private
    Backend_Divide_Checks     : constant Boolean := False;
    Backend_Overflow_Checks   : constant Boolean := False;
    Command_Line_Args         : constant Boolean := True;
+   Compiler_System_Version   : constant Boolean := False;
    Configurable_Run_Time     : constant Boolean := False;
    Denorm                    : constant Boolean := True;
    Duration_32_Bits          : constant Boolean := False;
index c661ac03270d69e79b1f00f3c9de3b7d480cbd34..8f099cd75b1bd1288dc9c1191a795ffb3c6350df 100644 (file)
@@ -7,7 +7,7 @@
 --                                 S p e c                                  --
 --                          (x86 Solaris Version)                           --
 --                                                                          --
---          Copyright (C) 1992-2004 Free Software Foundation, Inc.          --
+--          Copyright (C) 1992-2005 Free Software Foundation, Inc.          --
 --                                                                          --
 -- This specification is derived from the Ada Reference Manual for use with --
 -- GNAT. The copyright notice above, and the license provisions that follow --
@@ -118,6 +118,7 @@ private
    Backend_Divide_Checks     : constant Boolean := False;
    Backend_Overflow_Checks   : constant Boolean := False;
    Command_Line_Args         : constant Boolean := True;
+   Compiler_System_Version   : constant Boolean := False;
    Configurable_Run_Time     : constant Boolean := False;
    Denorm                    : constant Boolean := True;
    Duration_32_Bits          : constant Boolean := False;
index 3134ffe063043c5c3a261a6c45516c9b937fbc99..695aef9010c3ec935c2d77d66b3a9786a959dd8f 100644 (file)
@@ -7,7 +7,7 @@
 --                                 S p e c                                  --
 --                           (DEC Unix Version)                             --
 --                                                                          --
---          Copyright (C) 1992-2004 Free Software Foundation, Inc.          --
+--          Copyright (C) 1992-2005 Free Software Foundation, Inc.          --
 --                                                                          --
 -- This specification is derived from the Ada Reference Manual for use with --
 -- GNAT. The copyright notice above, and the license provisions that follow --
@@ -118,6 +118,7 @@ private
    Backend_Divide_Checks     : constant Boolean := False;
    Backend_Overflow_Checks   : constant Boolean := False;
    Command_Line_Args         : constant Boolean := True;
+   Compiler_System_Version   : constant Boolean := False;
    Configurable_Run_Time     : constant Boolean := False;
    Denorm                    : constant Boolean := False;
    Duration_32_Bits          : constant Boolean := False;
index 5cfd21bb674a73560f07fe5fe0523884e6877428..e30b42a3a512fc9d1b2ae7402818bf16e250cae2 100644 (file)
@@ -7,7 +7,7 @@
 --                                 S p e c                                  --
 --                         (SCO UnixWare Version)                           --
 --                                                                          --
---          Copyright (C) 1992-2004 Free Software Foundation, Inc.          --
+--          Copyright (C) 1992-2005 Free Software Foundation, Inc.          --
 --                                                                          --
 -- This specification is derived from the Ada Reference Manual for use with --
 -- GNAT. The copyright notice above, and the license provisions that follow --
@@ -118,6 +118,7 @@ private
    Backend_Divide_Checks     : constant Boolean := False;
    Backend_Overflow_Checks   : constant Boolean := False;
    Command_Line_Args         : constant Boolean := True;
+   Compiler_System_Version   : constant Boolean := False;
    Configurable_Run_Time     : constant Boolean := False;
    Denorm                    : constant Boolean := True;
    Duration_32_Bits          : constant Boolean := False;
index 1b4b7c275a9bbc2a8537f5913258c11942589726..62d969f1b054a238add897c27b5a705d3276777b 100644 (file)
@@ -7,7 +7,7 @@
 --                                 S p e c                                  --
 --                   (OpenVMS GCC_ZCX DEC Threads Version)                  --
 --                                                                          --
---          Copyright (C) 2002-2004 Free Software Foundation, Inc.          --
+--          Copyright (C) 2002-2005 Free Software Foundation, Inc.          --
 --                                                                          --
 -- This specification is derived from the Ada Reference Manual for use with --
 -- GNAT. The copyright notice above, and the license provisions that follow --
@@ -118,6 +118,7 @@ private
    Backend_Divide_Checks     : constant Boolean := False;
    Backend_Overflow_Checks   : constant Boolean := False;
    Command_Line_Args         : constant Boolean := True;
+   Compiler_System_Version   : constant Boolean := False;
    Configurable_Run_Time     : constant Boolean := False;
    Denorm                    : constant Boolean := False;
    Duration_32_Bits          : constant Boolean := False;
index 82faeb39c0ba83616ef22160cea174814896ea59..5463eea2664b636100ad2bed8607f00cea36dfba 100644 (file)
@@ -7,7 +7,7 @@
 --                                 S p e c                                  --
 --                       (OpenVMS DEC Threads Version)                      --
 --                                                                          --
---          Copyright (C) 1992-2004 Free Software Foundation, Inc.          --
+--          Copyright (C) 1992-2005 Free Software Foundation, Inc.          --
 --                                                                          --
 -- This specification is derived from the Ada Reference Manual for use with --
 -- GNAT. The copyright notice above, and the license provisions that follow --
@@ -118,6 +118,7 @@ private
    Backend_Divide_Checks     : constant Boolean := False;
    Backend_Overflow_Checks   : constant Boolean := False;
    Command_Line_Args         : constant Boolean := True;
+   Compiler_System_Version   : constant Boolean := False;
    Configurable_Run_Time     : constant Boolean := False;
    Denorm                    : constant Boolean := False;
    Duration_32_Bits          : constant Boolean := False;
index aefdb05abba1723aaf8662351e39f63490ff8344..24a2beadd6b044cc8a1748ab411c5bcaa65d12f6 100644 (file)
@@ -7,7 +7,7 @@
 --                                 S p e c                                  --
 --                (OpenVMS 64bit GCC_ZCX DEC Threads Version)               --
 --                                                                          --
---             Copyright (C) 2004 Free Software Foundation, Inc.            --
+--             Copyright (C) 2005 Free Software Foundation, Inc.            --
 --                                                                          --
 -- This specification is derived from the Ada Reference Manual for use with --
 -- GNAT. The copyright notice above, and the license provisions that follow --
@@ -137,6 +137,7 @@ private
    Backend_Divide_Checks     : constant Boolean := False;
    Backend_Overflow_Checks   : constant Boolean := False;
    Command_Line_Args         : constant Boolean := True;
+   Compiler_System_Version   : constant Boolean := False;
    Configurable_Run_Time     : constant Boolean := False;
    Denorm                    : constant Boolean := False;
    Duration_32_Bits          : constant Boolean := False;
index 9e0d847132c822769f3f2b41f10be53c12aa1b0f..aa703e90c2b1df84a49221469504d1cd16c93f9c 100644 (file)
@@ -7,7 +7,7 @@
 --                                 S p e c                                  --
 --                         (VxWorks Version Alpha)                          --
 --                                                                          --
---          Copyright (C) 1992-2004 Free Software Foundation, Inc.          --
+--          Copyright (C) 1992-2005 Free Software Foundation, Inc.          --
 --                                                                          --
 -- This specification is derived from the Ada Reference Manual for use with --
 -- GNAT. The copyright notice above, and the license provisions that follow --
@@ -126,6 +126,7 @@ private
    Backend_Divide_Checks     : constant Boolean := False;
    Backend_Overflow_Checks   : constant Boolean := False;
    Command_Line_Args         : constant Boolean := False;
+   Compiler_System_Version   : constant Boolean := False;
    Configurable_Run_Time     : constant Boolean := False;
    Denorm                    : constant Boolean := False;
    Duration_32_Bits          : constant Boolean := False;
index cdf4fcee8b98d035285c929a86d14b9bca298e3b..056ea790a2198c52a5d1743e35d49183563cfac8 100644 (file)
@@ -7,7 +7,7 @@
 --                                 S p e c                                  --
 --                          (VxWorks version M68K)                          --
 --                                                                          --
---          Copyright (C) 1992-2004 Free Software Foundation, Inc.          --
+--          Copyright (C) 1992-2005 Free Software Foundation, Inc.          --
 --                                                                          --
 -- This specification is derived from the Ada Reference Manual for use with --
 -- GNAT. The copyright notice above, and the license provisions that follow --
@@ -126,6 +126,7 @@ private
    Backend_Divide_Checks     : constant Boolean := False;
    Backend_Overflow_Checks   : constant Boolean := False;
    Command_Line_Args         : constant Boolean := False;
+   Compiler_System_Version   : constant Boolean := False;
    Configurable_Run_Time     : constant Boolean := False;
    Denorm                    : constant Boolean := True;
    Duration_32_Bits          : constant Boolean := False;
index 3cc13d7c99482cc7d783186f59ec90b757f6e47c..48f8a1816a2b0d6eea465be1c85f5b3b63cd834c 100644 (file)
@@ -7,7 +7,7 @@
 --                                 S p e c                                  --
 --                         (VxWorks Version Mips)                           --
 --                                                                          --
---          Copyright (C) 1992-2004 Free Software Foundation, Inc.          --
+--          Copyright (C) 1992-2005 Free Software Foundation, Inc.          --
 --                                                                          --
 -- This specification is derived from the Ada Reference Manual for use with --
 -- GNAT. The copyright notice above, and the license provisions that follow --
@@ -126,6 +126,7 @@ private
    Backend_Divide_Checks     : constant Boolean := False;
    Backend_Overflow_Checks   : constant Boolean := False;
    Command_Line_Args         : constant Boolean := False;
+   Compiler_System_Version   : constant Boolean := False;
    Configurable_Run_Time     : constant Boolean := False;
    Denorm                    : constant Boolean := False;
    Duration_32_Bits          : constant Boolean := False;
index b73f808a54b591c28d6436ed4e0b66f40838bd4f..1ff83f9ef4b88edae71e071463aa568831412c43 100644 (file)
@@ -7,7 +7,7 @@
 --                                 S p e c                                  --
 --                          (VxWorks Version PPC)                           --
 --                                                                          --
---          Copyright (C) 1992-2004 Free Software Foundation, Inc.          --
+--          Copyright (C) 1992-2005 Free Software Foundation, Inc.          --
 --                                                                          --
 -- This specification is derived from the Ada Reference Manual for use with --
 -- GNAT. The copyright notice above, and the license provisions that follow --
@@ -126,6 +126,7 @@ private
    Backend_Divide_Checks     : constant Boolean := False;
    Backend_Overflow_Checks   : constant Boolean := False;
    Command_Line_Args         : constant Boolean := False;
+   Compiler_System_Version   : constant Boolean := False;
    Configurable_Run_Time     : constant Boolean := False;
    Denorm                    : constant Boolean := True;
    Duration_32_Bits          : constant Boolean := False;
index c6a934018c18e6340d29147a133bc6f98dab85f0..e5804ba407cecfb469131c05f18f821d534024de 100644 (file)
@@ -7,7 +7,7 @@
 --                                 S p e c                                  --
 --                       (VxWorks Version Sparc/64)                         --
 --                                                                          --
---          Copyright (C) 1992-2004 Free Software Foundation, Inc.          --
+--          Copyright (C) 1992-2005 Free Software Foundation, Inc.          --
 --                                                                          --
 -- This specification is derived from the Ada Reference Manual for use with --
 -- GNAT. The copyright notice above, and the license provisions that follow --
@@ -128,6 +128,7 @@ private
    Backend_Divide_Checks     : constant Boolean := False;
    Backend_Overflow_Checks   : constant Boolean := False;
    Command_Line_Args         : constant Boolean := False;
+   Compiler_System_Version   : constant Boolean := False;
    Configurable_Run_Time     : constant Boolean := False;
    Denorm                    : constant Boolean := True;
    Duration_32_Bits          : constant Boolean := False;
index bd1a4d36d70b35337460fb00e1b9389dbb301be6..202e326b56e3e016da52c9c49b7b29c6d224b0c3 100644 (file)
@@ -7,7 +7,7 @@
 --                                 S p e c                                  --
 --                         (VxWorks Version x86)                            --
 --                                                                          --
---          Copyright (C) 1992-2004 Free Software Foundation, Inc.          --
+--          Copyright (C) 1992-2005 Free Software Foundation, Inc.          --
 --                                                                          --
 -- This specification is derived from the Ada Reference Manual for use with --
 -- GNAT. The copyright notice above, and the license provisions that follow --
@@ -126,6 +126,7 @@ private
    Backend_Divide_Checks     : constant Boolean := False;
    Backend_Overflow_Checks   : constant Boolean := False;
    Command_Line_Args         : constant Boolean := False;
+   Compiler_System_Version   : constant Boolean := False;
    Configurable_Run_Time     : constant Boolean := False;
    Denorm                    : constant Boolean := True;
    Duration_32_Bits          : constant Boolean := False;
index d762fcad363a301318c119b7daa213259d5dce7b..0f88a4e92d7a182b9eadfbdd25d32be256f4fd4f 100644 (file)
@@ -7,7 +7,7 @@
 --                                 S p e c                                  --
 --                         (VxWorks Version Xscale)                         --
 --                                                                          --
---          Copyright (C) 1992-2004 Free Software Foundation, Inc.          --
+--          Copyright (C) 1992-2005 Free Software Foundation, Inc.          --
 --                                                                          --
 -- This specification is derived from the Ada Reference Manual for use with --
 -- GNAT. The copyright notice above, and the license provisions that follow --
@@ -126,6 +126,7 @@ private
    Backend_Divide_Checks     : constant Boolean := False;
    Backend_Overflow_Checks   : constant Boolean := False;
    Command_Line_Args         : constant Boolean := False;
+   Compiler_System_Version   : constant Boolean := False;
    Configurable_Run_Time     : constant Boolean := False;
    Denorm                    : constant Boolean := True;
    Duration_32_Bits          : constant Boolean := False;
index 9447471007c97241ae032b8338971fa6c1887049..afbb50a5a392442502435f4a4d00cbdc546311a5 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 B o d y                                  --
 --                                                                          --
---          Copyright (C) 1999-2004 Free Software Foundation, Inc.          --
+--          Copyright (C) 1999-2005 Free Software Foundation, Inc.          --
 --                                                                          --
 -- GNAT is free software;  you can  redistribute it  and/or modify it under --
 -- terms of the  GNU General Public License as published  by the Free Soft- --
@@ -44,7 +44,8 @@ package body Targparm is
       BDC,  --   Backend_Divide_Checks
       BOC,  --   Backend_Overflow_Checks
       CLA,  --   Command_Line_Args
-      CRT,  --   Configurable_Run_Time
+      CRT,  --   Configurable_Run_Times
+      CSV,  --   Compiler_System_Version
       D32,  --   Duration_32_Bits
       DEN,  --   Denorm
       DSP,  --   Functions_Return_By_DSP
@@ -67,12 +68,7 @@ package body Targparm is
       VMS,  --   OpenVMS
       ZCD,  --   ZCX_By_Default
       ZCG,  --   GCC_ZCX_Support
-      ZCF,  --   Front_End_ZCX_Support
-
-   --  The following entries are obsolete and can eventually be removed
-
-      HIM,  --   High_Integrity_Mode
-      LSI); --   Long_Shifts_Inlined
+      ZCF); --   Front_End_ZCX_Support
 
    subtype Targparm_Tags_OK is Targparm_Tags range AAM .. ZCF;
    --  Range excluding obsolete entries
@@ -87,6 +83,7 @@ package body Targparm is
    BOC_Str : aliased constant Source_Buffer := "Backend_Overflow_Checks";
    CLA_Str : aliased constant Source_Buffer := "Command_Line_Args";
    CRT_Str : aliased constant Source_Buffer := "Configurable_Run_Time";
+   CSV_Str : aliased constant Source_Buffer := "Compiler_System_Version";
    D32_Str : aliased constant Source_Buffer := "Duration_32_Bits";
    DEN_Str : aliased constant Source_Buffer := "Denorm";
    DSP_Str : aliased constant Source_Buffer := "Functions_Return_By_DSP";
@@ -111,11 +108,6 @@ package body Targparm is
    ZCG_Str : aliased constant Source_Buffer := "GCC_ZCX_Support";
    ZCF_Str : aliased constant Source_Buffer := "Front_End_ZCX_Support";
 
-   --  Obsolete entries
-
-   HIM_Str : aliased constant Source_Buffer := "High_Integrity_Mode";
-   LSI_Str : aliased constant Source_Buffer := "Long_Shifts_Inlined";
-
    --  The following defines a set of pointers to the above strings,
    --  indexed by the tag values.
 
@@ -126,6 +118,7 @@ package body Targparm is
       BOC_Str'Access,
       CLA_Str'Access,
       CRT_Str'Access,
+      CSV_Str'Access,
       D32_Str'Access,
       DEN_Str'Access,
       DSP_Str'Access,
@@ -148,12 +141,7 @@ package body Targparm is
       VMS_Str'Access,
       ZCD_Str'Access,
       ZCG_Str'Access,
-      ZCF_Str'Access,
-
-      --  Obsolete entries
-
-      HIM_Str'Access,
-      LSI_Str'Access);
+      ZCF_Str'Access);
 
    -----------------------
    -- Local Subprograms --
@@ -237,6 +225,8 @@ package body Targparm is
          Parameters_Obtained := True;
       end if;
 
+      Opt.Address_Is_Private := False;
+
       P := Source_First;
       Line_Loop : while System_Text (P .. P + 10) /= "end System;" loop
 
@@ -245,6 +235,13 @@ package body Targparm is
          if System_Text (P) = '-' then
             goto Line_Loop_Continue;
 
+         --  Test for type Address is private
+
+         elsif System_Text (P .. P + 26) = "   type Address is private;" then
+            Opt.Address_Is_Private := True;
+            P := P + 26;
+            goto Line_Loop_Continue;
+
          --  Test for pragma Profile (Ravenscar);
 
          elsif System_Text (P .. P + 26) =
@@ -252,7 +249,7 @@ package body Targparm is
          then
             Set_Profile_Restrictions (Ravenscar);
             Opt.Task_Dispatching_Policy := 'F';
-            Opt.Locking_Policy     := 'C';
+            Opt.Locking_Policy          := 'C';
             P := P + 27;
             goto Line_Loop_Continue;
 
@@ -513,7 +510,6 @@ package body Targparm is
                then
                   P := P + 3 + Targparm_Str (K)'Length;
 
-
                   if Targparm_Flags (K) then
                      Set_Standard_Error;
                      Write_Line
@@ -552,6 +548,7 @@ package body Targparm is
                      when BOC => Backend_Overflow_Checks_On_Target   := Result;
                      when CLA => Command_Line_Args_On_Target         := Result;
                      when CRT => Configurable_Run_Time_On_Target     := Result;
+                     when CSV => Compiler_System_Version             := Result;
                      when D32 => Duration_32_Bits_On_Target          := Result;
                      when DEN => Denorm_On_Target                    := Result;
                      when DSP => Functions_Return_By_DSP_On_Target   := Result;
@@ -576,13 +573,13 @@ package body Targparm is
                      when ZCG => GCC_ZCX_Support_On_Target           := Result;
                      when ZCF => Front_End_ZCX_Support_On_Target     := Result;
 
-                     --  Obsolete entries
-
-                     when HIM => null;
-                     when LSI => null;
-
                      goto Line_Loop_Continue;
                   end case;
+
+                  --  Here we are seeing a parameter we do not understand. We
+                  --  simply ignore this (will happen when an old compiler is
+                  --  used to compile a newer version of GNAT which does not
+                  --  support the
                end if;
             end loop Config_Param_Loop;
          end if;
@@ -610,24 +607,27 @@ package body Targparm is
          end if;
       end loop Line_Loop;
 
-      --  Check no missing target parameter settings
+      --  Check no missing target parameter settings (skip for compiler vsn)
 
-      for K in Targparm_Tags_OK loop
-         if not Targparm_Flags (K) then
-            Set_Standard_Error;
-            Write_Line
-              ("fatal error: system.ads is incorrectly formatted");
-            Write_Str ("missing line for parameter: ");
+      if not Compiler_System_Version then
+         for K in Targparm_Tags_OK loop
+            if not Targparm_Flags (K) then
+               Set_Standard_Error;
+               Write_Line
+                 ("fatal error: system.ads is incorrectly formatted");
+               Write_Str ("missing line for parameter: ");
 
-            for J in Targparm_Str (K)'Range loop
-               Write_Char (Targparm_Str (K).all (J));
-            end loop;
+               for J in Targparm_Str (K)'Range loop
+                  Write_Char (Targparm_Str (K).all (J));
+               end loop;
+
+               Write_Eol;
+               Set_Standard_Output;
+               Fatal := True;
+            end if;
+         end loop;
+      end if;
 
-            Write_Eol;
-            Set_Standard_Output;
-            Fatal := True;
-         end if;
-      end loop;
 
       if Fatal then
          raise Unrecoverable_Error;
index 48f8c32855999a79fdc0103fd81625cc89a6b0bb..48b05ab5353f0acdef4764d97dd8882e9563bdc0 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 S p e c                                  --
 --                                                                          --
---          Copyright (C) 1999-2004 Free Software Foundation, Inc.          --
+--          Copyright (C) 1999-2005 Free Software Foundation, Inc.          --
 --                                                                          --
 -- GNAT is free software;  you can  redistribute it  and/or modify it under --
 -- terms of the  GNU General Public License as published  by the Free Soft- --
@@ -48,7 +48,7 @@
 --  computed and set in the ali file. This partially negates points 1 and 2
 --  above although just parsing is quick and does not impact debugging much.
 
---  The parameters acquired by this routine from system.ads fall into three
+--  The parameters acquired by this routine from system.ads fall into four
 --  categories:
 
 --     1. Configuration pragmas, that must appear at the start of the file.
@@ -66,6 +66,9 @@
 --        line may be ommitted for a version of system.ads to be used with
 --        the full Ada 95 run time.
 
+--     4. Other characterisitics of package System. At the current time the
+--        only item in this category is whether type Address is private.
+
 with Rident; use Rident;
 with Types;  use Types;
 
@@ -115,6 +118,10 @@ package Targparm is
    --  that in this context, only one restriction can be specified in a single
    --  pragma, and the pragma must appear on its own on a single source line.
 
+   --  If package System contains exactly the line "type Address is private;"
+   --  then the flag Opt.Address_Is_Private is set True, otherwise this flag
+   --  is set False.
+
    Restrictions_On_Target : Restrictions_Info;
    --  Records restrictions specified by system.ads. Only the Set and Value
    --  members are modified. The Violated and Count fields are never modified.
@@ -161,15 +168,39 @@ package Targparm is
    --  Get_Target_Parameters routine which reads the values from a provided
    --  text buffer containing the source of the system package.
 
+   --  The default values here are used if no value is found in system.ads.
+   --  This should normally happen only if the special version of system.ads
+   --  used by the compiler itself is in use. The default values are suitable
+   --  for use by the compiler itself in normal environments. This approach
+   --  allows the possibility of new versions of the compiler (possibly with
+   --  new system parameters added) being used to compile older versions of
+   --  the compiler sources. This is not guaranteed to work, but often will
+   --  and by setting appropriate default values, we make it more likely that
+   --  this can succeed.
+
+   Compiler_System_Version : Boolean := True;
+   --  This is set False in all target dependent versions of System. In the
+   --  compiler default version, it is omitted entirely, meaning that the
+   --  above default value of True will be set. If the flag is False, then
+   --  the scanning circuits in the body of this package do an error check to
+   --  ensure that all parameters other than this one are specified and not
+   --  defaulted. If the parameter is set True, then this check is omitted,
+   --  and any parameters not present in system.ads are left set to their
+   --  default value as described above.
+
    ----------------------------
    -- Special Target Control --
    ----------------------------
 
    --  The great majority of GNAT ports are based on GCC. The switches in
-   --  This section indicate the use of some non-standard target back end.
+   --  This section indicate the use of some non-standard target back end
+   --  or other special targetting requirements.
 
-   AAMP_On_Target : Boolean;
-   --  Set to True if target is AAMP.
+   AAMP_On_Target : Boolean := False;
+   --  Set to True if target is AAMP
+
+   OpenVMS_On_Target : Boolean := False;
+   --  Set to True if target is OpenVMS
 
    -------------------------------
    -- Backend Arithmetic Checks --
@@ -181,12 +212,12 @@ package Targparm is
    --  end will generate the required checks (or that the checks are
    --  automatically performed by the hardware in an appropriate form).
 
-   Backend_Divide_Checks_On_Target : Boolean;
+   Backend_Divide_Checks_On_Target : Boolean := False;
    --  Set True if the back end generates divide checks, or if the hardware
    --  checks automatically. Set False if the front end must generate the
    --  required tests using explicit expanded code.
 
-   Backend_Overflow_Checks_On_Target : Boolean;
+   Backend_Overflow_Checks_On_Target : Boolean := False;
    --  Set True if the back end generates arithmetic overflow checks, or if
    --  the hardware checks automatically. Set False if the front end must
    --  generate the required tests using explicit expanded code.
@@ -275,26 +306,26 @@ package Targparm is
    --      (if any) is available in an implementation, and which method
    --      is the default method.
 
-   ZCX_By_Default_On_Target : Boolean;
+   ZCX_By_Default_On_Target : Boolean := False;
    --  Indicates if zero cost exceptions are active by default. If this
    --  variable is False, then the only possible exception method is the
    --  front-end setjmp/longjmp approach, and this is the default. If
    --  this variable is True, then one of the following two flags must
    --  be True, and represents the method to be used by default.
 
-   GCC_ZCX_Support_On_Target  : Boolean;
+   GCC_ZCX_Support_On_Target  : Boolean := False;
    --  Indicates that when ZCX is active, the mechanism to be used is the
    --  back-end ZCX exception approach. If this variable is set to True,
    --  then Front_End_ZCX_Support_On_Target must be False.
 
-   Front_End_ZCX_Support_On_Target : Boolean;
+   Front_End_ZCX_Support_On_Target : Boolean := False;
    --  Indicates that when ZCX is active, the mechanism to be used is the
    --  front-end ZCX exception approach. If this variable is set to True,
    --  then GCC_ZCX_Support_On_Target must be False.
 
-   --------------------------------
-   -- Configurable Run-Time Mode --
-   --------------------------------
+   ------------------------------------
+   -- Run-Time Library Configuration --
+   ------------------------------------
 
    --  In configurable run-time mode, the system run-time may not support
    --  the full Ada language. The effect of setting this switch is to let
@@ -302,7 +333,7 @@ package Targparm is
    --  misconfigured) if run-time library units or entities within units are
    --  not present in the run-time.
 
-   Configurable_Run_Time_On_Target : Boolean;
+   Configurable_Run_Time_On_Target : Boolean := False;
    --  Indicates that the system.ads file is for a configurable run-time
    --
    --  This has some specific effects as follows
@@ -323,7 +354,7 @@ package Targparm is
    --    The variable __gnat_exit_status is generated within the binder file
    --    instead of being imported from the run-time library.
 
-   Suppress_Standard_Library_On_Target : Boolean;
+   Suppress_Standard_Library_On_Target : Boolean := False;
    --  If this flag is True, then the standard library is not included by
    --  default in the executable (see unit System.Standard_Library in file
    --  s-stalib.ads for details of what this includes). This is for example
@@ -345,7 +376,7 @@ package Targparm is
    --
    --    The routine __gnat_handler_installed is not imported
 
-   Preallocated_Stacks_On_Target : Boolean;
+   Preallocated_Stacks_On_Target : Boolean := False;
    --  If this flag is True, then the expander preallocates all task stacks
    --  at compile time. If the flag is False, then task stacks are not pre-
    --  allocated, and task stack allocation is the responsibility of the
@@ -360,7 +391,7 @@ package Targparm is
    --  and small of 10**(-9) (i.e. it is a count in nanoseconds. This flag
    --  allows that standard format to be modified.
 
-   Duration_32_Bits_On_Target : Boolean;
+   Duration_32_Bits_On_Target : Boolean := False;
    --  If True, then Duration is represented in 32 bits and the delta and
    --  small values are set to 20.0*(10**(-3)) (i.e. it is a count in units
    --  of 20 milliseconds.
@@ -375,7 +406,7 @@ package Targparm is
    --  used at the source level, and the corresponding flag is false, then an
    --  error message will be issued saying the feature is not supported.
 
-   Support_64_Bit_Divides_On_Target : Boolean;
+   Support_64_Bit_Divides_On_Target : Boolean := True;
    --  If True, the back end supports 64-bit divide operations. If False, then
    --  the source program may not contain 64-bit divide operations. This is
    --  specifically useful in the zero foot-print case, where the issue is
@@ -383,14 +414,14 @@ package Targparm is
    --  no run-time support is required. It should always be set True if the
    --  necessary run-time support is present.
 
-   Support_Aggregates_On_Target : Boolean;
+   Support_Aggregates_On_Target : Boolean := True;
    --  In the general case, the use of aggregates may generate calls
    --  to run-time routines in the C library, including memset, memcpy,
    --  memmove, and bcopy. This flag is set to True if these routines
    --  are available. If any of these routines is not available, then
    --  this flag is False, and the use of aggregates is not permitted.
 
-   Support_Composite_Assign_On_Target : Boolean;
+   Support_Composite_Assign_On_Target : Boolean := True;
    --  The assignment of composite objects other than small records and
    --  arrays whose size is 64-bits or less and is set by an explicit
    --  size clause may generate calls to memcpy, memmove, and bcopy.
@@ -398,14 +429,14 @@ package Targparm is
    --  is set to True. If any of these routines is not available, then
    --  the flag is set False, and composite assignments are not allowed.
 
-   Support_Composite_Compare_On_Target : Boolean;
+   Support_Composite_Compare_On_Target : Boolean := True;
    --  If this flag is True, then the back end supports bit-wise comparison
    --  of composite objects for equality, either generating inline code or
    --  calling appropriate (and available) run-time routines. If this flag
    --  is False, then the back end does not provide this support, and the
    --  front end uses component by component comparison for composites.
 
-   Support_Long_Shifts_On_Target : Boolean;
+   Support_Long_Shifts_On_Target : Boolean := True;
    --  If True, the back end supports 64-bit shift operations. If False, then
    --  the source program may not contain explicit 64-bit shifts. In addition,
    --  the code generated for packed arrays will avoid the use of long shifts.
@@ -441,11 +472,11 @@ package Targparm is
    --      default on systems that lack complete support for
    --      probing.
 
-   Stack_Check_Probes_On_Target : Boolean;
+   Stack_Check_Probes_On_Target : Boolean := False;
    --  Indicates if stack check probes are used, as opposed to the standard
    --  target independent comparison method.
 
-   Stack_Check_Default_On_Target : Boolean;
+   Stack_Check_Default_On_Target : Boolean := False;
    --  Indicates if stack checking is on by default
 
    ----------------------------
@@ -457,7 +488,7 @@ package Targparm is
    --  command line arguments (VxWorks and AAMP). Note that support of
    --  command line arguments is not required on such targets (RM A.15(13)).
 
-   Command_Line_Args_On_Target : Boolean;
+   Command_Line_Args_On_Target : Boolean := True;
    --  Set False if no command line arguments on target. Note that if this
    --  is False in with Configurable_Run_Time_On_Target set to True, then
    --  this causes suppression of generation of the argv/argc variables
@@ -466,11 +497,11 @@ package Targparm is
    --  Similarly, most ports support the use of an exit status, but AAMP
    --  is an exception (as allowed by RM A.15(18-20))
 
-   Exit_Status_Supported_On_Target : Boolean;
+   Exit_Status_Supported_On_Target : Boolean := True;
    --  Set False if returning of an exit status is not supported on target.
    --  Note that if this False in with Configurable_Run_Time_On_Target
    --  set to True, then this causes suppression of the gnat_exit_status
-   --  variable used to recod the exit status.
+   --  variable used to record the exit status.
 
    -----------------------
    -- Main Program Name --
@@ -483,7 +514,7 @@ package Targparm is
    --  name (just the name of the child if the main program is a child unit).
    --  In either case, this value can be overridden using -M name.
 
-   Use_Ada_Main_Program_Name_On_Target : Boolean;
+   Use_Ada_Main_Program_Name_On_Target : Boolean := False;
    --  Set True to use the Ada main program name as the main name
 
    ----------------------------------------------
@@ -504,29 +535,30 @@ package Targparm is
    --  the partition. We probably should add such consistency checks in future,
    --  but for now we don't do this.
 
-   Denorm_On_Target : Boolean;
-   --  Set to False on targets that do not reliably support denormals.
-   --  Reliably here means for all settings of the relevant -m flag, so
-   --  for example, this is False on the Alpha where denormals are not
-   --  supported unless -mieee is used.
+   --  Note: the compiler itself does not use floating-point, so the
+   --  settings of the defaults here are not really relevant.
+
+   --  Note: in some cases, proper support of some of these floating point
+   --  features may require a specific switch (e.g. -mieee on the Alpha)
+   --  to be used to obtain full RM compliant support.
 
-   Machine_Rounds_On_Target : Boolean;
+   Denorm_On_Target : Boolean := False;
+   --  Set to False on targets that do not reliably support denormals
+
+   Machine_Rounds_On_Target : Boolean := True;
    --  Set to False for targets where S'Machine_Rounds is False
 
-   Machine_Overflows_On_Target : Boolean;
+   Machine_Overflows_On_Target : Boolean := False;
    --  Set to True for targets where S'Machine_Overflows is True
 
-   Signed_Zeros_On_Target : Boolean;
+   Signed_Zeros_On_Target : Boolean := True;
    --  Set to False on targets that do not reliably support signed zeros.
 
-   OpenVMS_On_Target : Boolean;
-   --  Set to True if target is OpenVMS.
-
    -------------------------------------------
    -- Boolean-Valued Fixed-Point Attributes --
    -------------------------------------------
 
-   Fractional_Fixed_Ops_On_Target : Boolean;
+   Fractional_Fixed_Ops_On_Target : Boolean := False;
    --  Set to True for targets that support fixed-by-fixed multiplication
    --  and division for fixed-point types with a small value equal to
    --  2 ** (-(T'Object_Size - 1)) and whose values have an absolute
@@ -568,7 +600,7 @@ package Targparm is
    --      the returned value. The caller must then pop the main stack when
    --      this value is consumed.
 
-   Functions_Return_By_DSP_On_Target : Boolean;
+   Functions_Return_By_DSP_On_Target : Boolean := False;
    --  Set to True if target permits functions to return with using the
    --  DSP (depressed stack pointer) approach.
 
@@ -581,7 +613,7 @@ package Targparm is
    --  parameter Backend_Layout is set to False, then the front end must
    --  perform all data layout. For further details see the package Layout.
 
-   Frontend_Layout_On_Target : Boolean;
+   Frontend_Layout_On_Target : Boolean := False;
    --  Set True if front end does layout
 
    -----------------