a-taster.adb, [...]: Minor reformatting.
authorRobert Dewar <dewar@adacore.com>
Tue, 31 Oct 2006 17:43:17 +0000 (18:43 +0100)
committerArnaud Charlet <charlet@gcc.gnu.org>
Tue, 31 Oct 2006 17:43:17 +0000 (18:43 +0100)
2006-10-31  Robert Dewar  <dewar@adacore.com>

* a-taster.adb, s-traent-vms.adb, a-elchha.ads, a-elchha.adb,
a-exctra.adb, ali-util.adb, exp_disp.ads, s-stalib.ads, s-traent.adb,
s-addope.ads, s-addope.adb, a-rbtgso.adb, a-crbltr.ads, a-coprnu.adb,
a-cgcaso.adb, a-cgarso.adb, a-cgaaso.adb, a-coormu.adb, a-ciormu.adb,
a-rbtgso.ads, a-stunha.adb, a-stunha.adb, a-ciorma.adb, a-coorma.adb,
a-secain.adb, a-slcain.adb, a-shcain.adb, a-stwiha.adb, a-stwiha.adb,
a-strhas.adb, a-strhas.adb, a-stzhas.adb, a-stzhas.adb, a-szuzha.adb,
a-chacon.adb, a-chacon.adb, a-chacon.ads, a-stboha.adb, a-swbwha.adb,
a-szbzha.adb: Minor reformatting. Fix header.

* a-numaux-x86.adb: Add parentheses for use of unary minus
* a-ngcefu.adb: Supply missing parentheses for unary minus
* a-ngcoty.adb: Add parens for use of unary minus
* a-ngelfu.adb: Add missing parens for unary minus
* a-tifiio.adb: Add parentheses for uses of unary minus

From-SVN: r118231

40 files changed:
gcc/ada/a-cgaaso.adb
gcc/ada/a-cgarso.adb
gcc/ada/a-cgcaso.adb
gcc/ada/a-chacon.adb
gcc/ada/a-chacon.ads
gcc/ada/a-ciorma.adb
gcc/ada/a-ciormu.adb
gcc/ada/a-coorma.adb
gcc/ada/a-coormu.adb
gcc/ada/a-coprnu.adb
gcc/ada/a-crbltr.ads
gcc/ada/a-elchha.adb
gcc/ada/a-elchha.ads
gcc/ada/a-exctra.adb
gcc/ada/a-ngcefu.adb
gcc/ada/a-ngcoty.adb
gcc/ada/a-ngelfu.adb
gcc/ada/a-numaux-x86.adb
gcc/ada/a-rbtgso.adb
gcc/ada/a-rbtgso.ads
gcc/ada/a-secain.adb
gcc/ada/a-shcain.adb
gcc/ada/a-slcain.adb
gcc/ada/a-stboha.adb
gcc/ada/a-strhas.adb
gcc/ada/a-stunha.adb
gcc/ada/a-stwiha.adb
gcc/ada/a-stzhas.adb
gcc/ada/a-swbwha.adb
gcc/ada/a-szbzha.adb
gcc/ada/a-szuzha.adb
gcc/ada/a-taster.adb
gcc/ada/a-tifiio.adb
gcc/ada/ali-util.adb
gcc/ada/exp_disp.ads
gcc/ada/s-addope.adb
gcc/ada/s-addope.ads
gcc/ada/s-stalib.ads
gcc/ada/s-traent-vms.adb
gcc/ada/s-traent.adb

index b91de5fc55a9e5e0e773df0b0faef9ce13367810..5c2e22d3b0d91b4f16fb554335c90a200fce9eaa 100644 (file)
@@ -9,10 +9,6 @@
 --                                                                          --
 --          Copyright (C) 2004-2006, 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 --
--- apply solely to the  contents of the part following the private keyword. --
---                                                                          --
 -- 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- --
 -- ware  Foundation;  either version 2,  or (at your option) any later ver- --
@@ -34,7 +30,7 @@
 -- This unit was originally developed by Matthew J Heaney.                  --
 ------------------------------------------------------------------------------
 
---  This algorithm was adapted from GNAT.Heap_Sort (see g-heasor.ad[sb]).
+--  This algorithm was adapted from GNAT.Heap_Sort (see g-heasor.ad[sb])
 
 with System;
 
index 8d5a08b4f14d9fe9dcb411d97550036599dfd6f9..1b09dcf1cde739b77b0383097dc7ff8fee84355a 100644 (file)
@@ -6,11 +6,7 @@
 --                                                                          --
 --                                 B o d y                                  --
 --                                                                          --
---          Copyright (C) 2004-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 --
--- apply solely to the  contents of the part following the private keyword. --
+--          Copyright (C) 2004-2006, 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- --
index 43ddb645b045016a2f89f769246b40806ff9375d..e61ae71d0c51c1547875ba2f9ae5402335617e90 100644 (file)
@@ -9,10 +9,6 @@
 --                                                                          --
 --          Copyright (C) 2004-2006, 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 --
--- apply solely to the  contents of the part following the private keyword. --
---                                                                          --
 -- 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- --
 -- ware  Foundation;  either version 2,  or (at your option) any later ver- --
@@ -34,7 +30,7 @@
 -- This unit has originally being developed by Matthew J Heaney.            --
 ------------------------------------------------------------------------------
 
---  This algorithm was adapted from GNAT.Heap_Sort_G (see g-hesorg.ad[sb]).
+--  This algorithm was adapted from GNAT.Heap_Sort_G (see g-hesorg.ad[sb])
 
 with System;
 
index 9884337fea74aaaf06207ff1753c5cafaa576631..d95db64a680946a8e4423fb63411b9135661b04c 100755 (executable)
@@ -2,15 +2,11 @@
 --                                                                          --
 --                         GNAT RUN-TIME COMPONENTS                         --
 --                                                                          --
---              A D A . C H A R A C T E R S . H A N D L I N G               --
+--           A D A . C H A R A C T E R S . C O N V E R S I O N S            --
 --                                                                          --
 --                                 B o d y                                  --
 --                                                                          --
---            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 --
--- apply solely to the  contents of the part following the private keyword. --
+--          Copyright (C) 2005-2006, 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- --
index 9ce9337291e81e3a54c0a7b85e72a16ecbf0ef1b..7c7ea8393ac1400790848bf05077b21ee081e239 100755 (executable)
@@ -2,11 +2,11 @@
 --                                                                          --
 --                         GNAT RUN-TIME COMPONENTS                         --
 --                                                                          --
---              A D A . C H A R A C T E R S . H A N D L I N G               --
+--           A D A . C H A R A C T E R S . C O N V E R S I O N S            --
 --                                                                          --
 --                                 S p e c                                  --
 --                                                                          --
---            Copyright (C) 2005, Free Software Foundation, Inc.            --
+--          Copyright (C) 2005-2006, 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 --
index fda5c3971de103f6d4b6695277ac10c54d074fe4..dc806bc32fba94941accc682b6744b421ec97963 100644 (file)
@@ -7,11 +7,7 @@
 --                                                                          --
 --                                 B o d y                                  --
 --                                                                          --
---          Copyright (C) 2004-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 --
--- apply solely to the  contents of the part following the private keyword. --
+--          Copyright (C) 2004-2006, 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- --
index 980e868f0ef565303cbe2c8f06a9ed442a48210c..f3af12e27857876b0e3bb861dacf0c01a306320a 100644 (file)
@@ -9,10 +9,6 @@
 --                                                                          --
 --          Copyright (C) 2004-2006, 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 --
--- apply solely to the  contents of the part following the private keyword. --
---                                                                          --
 -- 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- --
 -- ware  Foundation;  either version 2,  or (at your option) any later ver- --
index 95b8796c8d42ea15d8133a4046cf4a282d8df1da..81e0d4eb24650b700675c6fbd1f74cf2bd66cf52 100644 (file)
@@ -6,11 +6,7 @@
 --                                                                          --
 --                                 B o d y                                  --
 --                                                                          --
---          Copyright (C) 2004-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 --
--- apply solely to the  contents of the part following the private keyword. --
+--          Copyright (C) 2004-2006, 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- --
index 2ad3613016f999693eac74184c8c708c90f5f5f8..912bde390254b6d42e1ece52f08c8e6c2c55a01a 100644 (file)
@@ -8,10 +8,6 @@
 --                                                                          --
 --          Copyright (C) 2004-2006, 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 --
--- apply solely to the  contents of the part following the private keyword. --
---                                                                          --
 -- 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- --
 -- ware  Foundation;  either version 2,  or (at your option) any later ver- --
index fd7f34580a8fbb26185853f478d7932ab6acb383..9840c8daa7a8511c1a98486a2c4f48d891db261a 100644 (file)
@@ -6,11 +6,7 @@
 --                                                                          --
 --                                 B o d y                                  --
 --                                                                          --
---          Copyright (C) 2004-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 --
--- apply solely to the  contents of the part following the private keyword. --
+--          Copyright (C) 2004-2006, 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- --
index 391892920f809d913e192510076abe2517c260a7..ee966f9a1efa7902c9bc3492ee9a8c983f89002a 100644 (file)
@@ -6,11 +6,7 @@
 --                                                                          --
 --                                 S p e c                                  --
 --                                                                          --
---          Copyright (C) 2004-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 --
--- apply solely to the  contents of the part following the private keyword. --
+--          Copyright (C) 2004-2006, 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- --
@@ -33,6 +29,8 @@
 -- This unit was originally developed by Matthew J Heaney.                  --
 ------------------------------------------------------------------------------
 
+--  This package declares the tree type used to implement ordered containers
+
 package Ada.Containers.Red_Black_Trees is
    pragma Pure;
 
index 135daf50f7f2d3d9c83f9cacfe5c2f13d8bc669f..fabd3ff68f6653f46c95ee7accd6dae2d2fb36d7 100644 (file)
@@ -6,11 +6,7 @@
 --                                                                          --
 --                                 B o d y                                  --
 --                                                                          --
---          Copyright (C) 2003-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 --
--- apply solely to the  contents of the part following the private keyword. --
+--          Copyright (C) 2003-2006, 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- --
index 9d40242d83e2fdeed3997314ebe074aaa904762a..bbd68b45063be6641f06b76418f65795034044ed 100644 (file)
@@ -6,11 +6,7 @@
 --                                                                          --
 --                                 S p e c                                  --
 --                                                                          --
---             Copyright (C) 2003 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 --
--- apply solely to the  contents of the part following the private keyword. --
+--          Copyright (C) 2003-2006, 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- --
@@ -35,8 +31,7 @@
 --                                                                          --
 ------------------------------------------------------------------------------
 
---  Last chance handler. Unhandled exceptions are passed to this
---  routine.
+--  Last chance handler. Unhandled exceptions are passed to this routine
 
 procedure Ada.Exceptions.Last_Chance_Handler
   (Except :  Exception_Occurrence);
index 1b3c79d2a5b5250da5a3785c7f9fbc3adad61685..acfa21bf01356be2aac0f8349defb40bfd70fefa 100644 (file)
@@ -6,11 +6,7 @@
 --                                                                          --
 --                                 B o d y                                  --
 --                                                                          --
---          Copyright (C) 1999-2003 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 --
--- apply solely to the  contents of the part following the private keyword. --
+--          Copyright (C) 1999-2006, 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- --
index d0e203d27801c1fbe8959d5812dcbf9c444d1523..2807a3e11b6577f7d9a0810be0364c27d8603c54 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 B o d y                                  --
 --                                                                          --
---          Copyright (C) 1992-2005, Free Software Foundation, Inc.         --
+--          Copyright (C) 1992-2006, 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- --
@@ -420,7 +420,7 @@ package body Ada.Numerics.Generic_Complex_Elementary_Functions is
       return
         Compose_From_Cartesian
           (Cos (Re (X))  * Cosh (Im (X)),
-           -Sin (Re (X)) * Sinh (Im (X)));
+           -(Sin (Re (X)) * Sinh (Im (X))));
    end Cos;
 
    ----------
index 044f748fb6a81acf1f81660110852d037bd66f90..548f2d671eedd4418f5c54625fa6aade520c60b1 100644 (file)
@@ -69,7 +69,7 @@ package body Ada.Numerics.Generic_Complex_Types is
 
    function "*" (Left, Right : Imaginary) return Real'Base is
    begin
-      return -R (Left) * R (Right);
+      return -(R (Left) * R (Right));
    end "*";
 
    function "*" (Left : Complex; Right : Real'Base) return Complex is
@@ -317,8 +317,8 @@ package body Ada.Numerics.Generic_Complex_Types is
       c : constant R := Right.Re;
       d : constant R := Right.Im;
    begin
-      return Complex'(Re =>  (a * c) / (c ** 2 + d ** 2),
-                      Im => -(a * d) / (c ** 2 + d ** 2));
+      return Complex'(Re =>   (a * c) / (c ** 2 + d ** 2),
+                      Im => -((a * d) / (c ** 2 + d ** 2)));
    end "/";
 
    function "/" (Left : Complex; Right : Imaginary) return Complex is
@@ -327,7 +327,7 @@ package body Ada.Numerics.Generic_Complex_Types is
       d : constant R := R (Right);
 
    begin
-      return (b / d,  -a / d);
+      return (b / d,  -(a / d));
    end "/";
 
    function "/" (Left : Imaginary; Right : Complex) return Complex is
@@ -347,7 +347,7 @@ package body Ada.Numerics.Generic_Complex_Types is
 
    function "/" (Left : Real'Base; Right : Imaginary) return Imaginary is
    begin
-      return Imaginary (-Left / R (Right));
+      return Imaginary (-(Left / R (Right)));
    end "/";
 
    ---------
index 97d170dd474762a4c6d581ab8ecb8326fc36091c..cb12478e25c3f4dfe705ac716d934fa81cfbc300 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 B o d y                                  --
 --                                                                          --
---          Copyright (C) 1992-2005, Free Software Foundation, Inc.         --
+--          Copyright (C) 1992-2006, 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- --
@@ -332,7 +332,7 @@ package body Ada.Numerics.Generic_Elementary_Functions is
          return Pi / 2.0;
 
       elsif X = -1.0 then
-         return -Pi / 2.0;
+         return -(Pi / 2.0);
       end if;
 
       return Float_Type'Base (Aux.Asin (Double (X)));
@@ -355,7 +355,7 @@ package body Ada.Numerics.Generic_Elementary_Functions is
          return Cycle / 4.0;
 
       elsif X = -1.0 then
-         return -Cycle / 4.0;
+         return -(Cycle / 4.0);
       end if;
 
       return Arctan (X / Sqrt ((1.0 - X) * (1.0 + X)), 1.0, Cycle);
@@ -373,7 +373,7 @@ package body Ada.Numerics.Generic_Elementary_Functions is
       elsif X > 1.0 / Sqrt_Epsilon then
          return Log (X) + Log_Two;
 
-      elsif X < -1.0 / Sqrt_Epsilon then
+      elsif X < -(1.0 / Sqrt_Epsilon) then
          return -(Log (-X) + Log_Two);
 
       elsif X < 0.0 then
@@ -448,7 +448,7 @@ package body Ada.Numerics.Generic_Elementary_Functions is
          if Y > 0.0 then
             return Cycle / 4.0;
          else -- Y < 0.0
-            return -Cycle / 4.0;
+            return -(Cycle / 4.0);
          end if;
 
       else
index e154671a229f91a710c6a12ecac0c16098c80aaf..5c85661eeb92dd7bf656cbbc6f488afd003985c7 100644 (file)
@@ -7,7 +7,7 @@
 --                                 B o d y                                  --
 --                        (Machine Version for x86)                         --
 --                                                                          --
---          Copyright (C) 1998-2005 Free Software Foundation, Inc.          --
+--          Copyright (C) 1998-2006, 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- --
@@ -566,7 +566,7 @@ package body Ada.Numerics.Aux is
          return Double'Copy_Sign (1.0, X);
       end if;
 
-      return 1.0 / (1.0 + Exp (-2.0 * X)) - 1.0 / (1.0 + Exp (2.0 * X));
+      return 1.0 / (1.0 + Exp (-(2.0 * X))) - 1.0 / (1.0 + Exp (2.0 * X));
    end Tanh;
 
 end Ada.Numerics.Aux;
index fcb9adf2fc662a27d3bcd0db468acf30b3de9949..fc0c706304aedf138804de1315af5e572e5d364d 100644 (file)
@@ -7,11 +7,7 @@
 --                                                                          --
 --                                 B o d y                                  --
 --                                                                          --
---          Copyright (C) 2004-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 --
--- apply solely to the  contents of the part following the private keyword. --
+--          Copyright (C) 2004-2006, 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- --
index 381ac5b0b6d5216757dfaab890d2d07143ad9d18..69316573d33a644780f48fb080aaa50f701f7791 100644 (file)
@@ -5,15 +5,34 @@
 --       A D A . C O N T A I N E R S . R E D _ B L A C K _ T R E E S .      --
 --               G E N E R I C _ S E T _ O P E R A T I O N S                --
 --                                                                          --
---                                 S p e c                                  --
+--                                 B o d y                                  --
 --                                                                          --
--- This specification is adapted from the Ada Reference Manual for use with --
--- GNAT.  In accordance with the copyright of that document, you can freely --
--- copy and modify this specification,  provided that if you redistribute a --
--- modified version,  any changes that you have made are clearly indicated. --
+--          Copyright (C) 2004-2006, 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- --
+-- ware  Foundation;  either version 2,  or (at your option) any later ver- --
+-- sion.  GNAT is distributed in the hope that it will be useful, but WITH- --
+-- OUT ANY WARRANTY;  without even the  implied warranty of MERCHANTABILITY --
+-- or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License --
+-- for  more details.  You should have  received  a copy of the GNU General --
+-- Public License  distributed with GNAT;  see file COPYING.  If not, write --
+-- to  the  Free Software Foundation,  51  Franklin  Street,  Fifth  Floor, --
+-- Boston, MA 02110-1301, USA.                                              --
+--                                                                          --
+-- As a special exception,  if other files  instantiate  generics from this --
+-- unit, or you link  this unit with other files  to produce an executable, --
+-- this  unit  does not  by itself cause  the resulting  executable  to  be --
+-- covered  by the  GNU  General  Public  License.  This exception does not --
+-- however invalidate  any other reasons why  the executable file  might be --
+-- covered by the  GNU Public License.                                      --
+--                                                                          --
+-- This unit was originally developed by Matthew J Heaney.                  --
 ------------------------------------------------------------------------------
 
+--  Tree_Type is used to implement ordered containers. This package declares
+--  set-based tree operations.
+
 with Ada.Containers.Red_Black_Trees.Generic_Operations;
 
 generic
index 74d222d6a5906fb9a054ed372cb18fa3232d5f0e..d901b3c67cc1485bf291d5885a74733e78f60f72 100644 (file)
@@ -6,11 +6,7 @@
 --                                                                          --
 --                                 B o d y                                  --
 --                                                                          --
---          Copyright (C) 2004-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 --
--- apply solely to the  contents of the part following the private keyword. --
+--          Copyright (C) 2004-2006, 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- --
index 4b6000c26becbb9b869400a918e6a61de9514cf7..737a968cd67577ac7d1d53fe81f4e84f192444e4 100644 (file)
@@ -6,11 +6,7 @@
 --                                                                          --
 --                                 B o d y                                  --
 --                                                                          --
---          Copyright (C) 2004-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 --
--- apply solely to the  contents of the part following the private keyword. --
+--          Copyright (C) 2004-2006, 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- --
index 5a5b8928c436e6f4431dddb1ac8fa56f6f47e786..b87a4809593d0a90869b015aff4a1dcdc5a2fcd6 100644 (file)
@@ -6,11 +6,7 @@
 --                                                                          --
 --                                 B o d y                                  --
 --                                                                          --
---          Copyright (C) 2004-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 --
--- apply solely to the  contents of the part following the private keyword. --
+--          Copyright (C) 2004-2006, 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- --
index ba5ce06b0d2dba592e42529eff5b1975cd5dd0af..ae5cd93124157aa952cb2bd215065c07275f0d8d 100644 (file)
@@ -6,11 +6,7 @@
 --                                                                          --
 --                                B o d y                                   --
 --                                                                          --
---           Copyright (C) 2004-2006 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 --
--- apply solely to the  contents of the part following the private keyword. --
+--          Copyright (C) 2004-2006, 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- --
index ba02a75c68cb458436b400ba75ff5b666227b040..2c18043a8fa5c7d3859271985fa276024f0819c7 100644 (file)
@@ -6,11 +6,7 @@
 --                                                                          --
 --                                B o d y                                   --
 --                                                                          --
---          Copyright (C) 2004-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 --
--- apply solely to the  contents of the part following the private keyword. --
+--          Copyright (C) 2004-2006, 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- --
index 34db56341169f6c78a0e7249b641570d4d5ff82d..ba6f55442d22f8c876a5a970d6a7a0d638c49dac 100644 (file)
@@ -6,11 +6,7 @@
 --                                                                          --
 --                                 B o d y                                  --
 --                                                                          --
---          Copyright (C) 2004-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 --
--- apply solely to the  contents of the part following the private keyword. --
+--          Copyright (C) 2004-2006, 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- --
index dd38568440df3669058c26a3b2800761a28dddce..3a0b0b1668855b025f16b010ca34621222050ac7 100644 (file)
@@ -6,11 +6,7 @@
 --                                                                          --
 --                                 B o d y                                  --
 --                                                                          --
---          Copyright (C) 2004-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 --
--- apply solely to the  contents of the part following the private keyword. --
+--          Copyright (C) 2004-2006, 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- --
index ec5e928edc1091c71ce1d880d6e6cc8e7b465fed..6ca526c39df683771e2e4cafa43cdf243bae969a 100644 (file)
@@ -6,11 +6,7 @@
 --                                                                          --
 --                                 B o d y                                  --
 --                                                                          --
---          Copyright (C) 2004-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 --
--- apply solely to the  contents of the part following the private keyword. --
+--          Copyright (C) 2004-2006, 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- --
index 42b844ba8f2efeff550d6c5d6b55c2f77cb01905..6a5f84777e6048a89666738f441065590502a9a7 100644 (file)
@@ -6,11 +6,7 @@
 --                                                                          --
 --                                B o d y                                   --
 --                                                                          --
---           Copyright (C) 2004-2006 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 --
--- apply solely to the  contents of the part following the private keyword. --
+--          Copyright (C) 2004-2006, 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- --
index 458f47757d482d41036c036c847b8d6a3c902f52..641edca23310d8fd20e14993902fc0b006158cc7 100644 (file)
@@ -7,11 +7,7 @@
 --                                                                          --
 --                                B o d y                                   --
 --                                                                          --
---           Copyright (C) 2004-2006 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 --
--- apply solely to the  contents of the part following the private keyword. --
+--          Copyright (C) 2004-2006, 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- --
index fff8114e656fe64859075ad3a01f2a6d87689864..f210d7a8923ffbfc3b1f37df8e04a1912c2c8301 100644 (file)
@@ -6,11 +6,7 @@
 --                                                                          --
 --                                 B o d y                                  --
 --                                                                          --
---          Copyright (C) 2004-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 --
--- apply solely to the  contents of the part following the private keyword. --
+--          Copyright (C) 2004-2006, 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- --
index 8b0be0a22f616b8183bb1229b957fbe98dce418c..559e261ff9a23742f7a8dce83b1a01f085c9ec1b 100644 (file)
@@ -8,10 +8,6 @@
 --                                                                          --
 --          Copyright (C) 2005-2006, 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 --
--- apply solely to the  contents of the part following the private keyword. --
---                                                                          --
 -- 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- --
 -- ware  Foundation;  either version 2,  or (at your option) any later ver- --
index d94688668f8f539412eac9c1b920c0cfb476f83f..fe06c2c99e73124fcd49e125d66a34017d75bc26 100644 (file)
@@ -279,7 +279,7 @@ package body Ada.Text_IO.Fixed_IO is
    --  decimal point.
 
    subtype Int is Integer;
-   E0 : constant Int := -20 * Boolean'Pos (Num'Small >= 1.0E1);
+   E0 : constant Int := -(20 * Boolean'Pos (Num'Small >= 1.0E1));
    E1 : constant Int := E0 + 10 * Boolean'Pos (Num'Small * 10.0**E0 < 1.0E-10);
    E2 : constant Int := E1 +  5 * Boolean'Pos (Num'Small * 10.0**E1 < 1.0E-5);
    E3 : constant Int := E2 +  3 * Boolean'Pos (Num'Small * 10.0**E2 < 1.0E-3);
@@ -637,10 +637,10 @@ package body Ada.Text_IO.Fixed_IO is
 
       if Exact then
          Y := Int64'Min (Int64 (-Num'Small), -1) * 10**Integer'Max (0, D);
-         Z := Int64'Min (Int64 (-1.0 / Num'Small), -1)
+         Z := Int64'Min (Int64 (-(1.0 / Num'Small)), -1)
                                                  * 10**Integer'Max (0, -D);
       else
-         Y := Int64 (-Num'Small * 10.0**E);
+         Y := Int64 (-(Num'Small * 10.0**E));
          Z := -10**Max_Digits;
       end if;
 
index a3369772d126bd038f16b9b7adb842b5b684da9b..2ed90a70e187a8ded18af109a2d4ef4cd326eec1 100644 (file)
@@ -137,6 +137,7 @@ package body ALI.Util is
    function Get_File_Checksum (Fname : Name_Id) return Word is
       Full_Name    : Name_Id;
       Source_Index : Source_File_Index;
+
    begin
       Full_Name := Find_File (Fname, Osint.Source);
 
index 50f1a6b2f26b039ffa7eb03466c77263bca6b5ec..f68fe458b74ddae60ddf7b65567156b6d2f5952e 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 S p e c                                  --
 --                                                                          --
---          Copyright (C) 1992-2005, Free Software Foundation, Inc.         --
+--          Copyright (C) 1992-2006, 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- --
@@ -209,7 +209,7 @@ package Exp_Disp is
    --  the required tag checks when appropriate. For CPP types the call is
    --  done through the Vtable (tag checks are not relevant)
 
-   procedure Expand_Interface_Actuals    (Call_Node : Node_Id);
+   procedure Expand_Interface_Actuals (Call_Node : Node_Id);
    --  Ada 2005 (AI-251): Displace all the actuals corresponding to class-wide
    --  interfaces to reference the interface tag of the actual object
 
index 12ed81d6aae0bc3d5e9cc8b7662a589f1cb4d08c..984897a6a01d2c23c9d986d8f0805b63b9871217 100644 (file)
@@ -6,11 +6,7 @@
 --                                                                          --
 --                                 B o d y                                  --
 --                                                                          --
---             Copyright (C) 2004 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 --
--- apply solely to the implementation dependent sections of this file.      --
+--          Copyright (C) 2004-2006 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- --
index 89b089b307c14729ddc1e347af85284942343801..680fe35ae4e3968c55ecd67fb5585e668345b825 100644 (file)
@@ -6,11 +6,7 @@
 --                                                                          --
 --                                 S p e c                                  --
 --                                                                          --
---           Copyright (C) 2004-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 --
--- apply solely to the implementation dependent sections of this file.      --
+--          Copyright (C) 2004-2006, 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- --
@@ -59,6 +55,13 @@ package System.Address_Operations is
    --  Standard (which may or may not be visible depending on the exact
    --  form of the declaration of type System.Address).
 
+   --  For addition, subtraction, and multiplication, the effect of overflow
+   --  is 2's complement wrapping (as though the type Address were unsigned).
+
+   --  For division and modulus operations, the caller is responsible for
+   --  ensuring that the Right argument is non-zero, and the effect of the
+   --  call is not specified if a zero argument is passed.
+
    function AddA (Left, Right : Address) return Address;
    function SubA (Left, Right : Address) return Address;
    function MulA (Left, Right : Address) return Address;
index 8388e8d7ac252bf2c65b1b04a103d568540c7277..e609d480eeb4091995c5a734fe532010250662b7 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 S p e c                                  --
 --                                                                          --
---          Copyright (C) 1992-2005 Free Software Foundation, Inc.          --
+--          Copyright (C) 1992-2006, 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- --
@@ -258,7 +258,7 @@ package System.Standard_Library is
 
    Exception_Trace : Exception_Trace_Kind := RM_Convention;
    pragma Atomic (Exception_Trace);
-   --  By default, follow the RM convention.
+   --  By default, follow the RM convention
 
    -----------------
    -- Subprograms --
index 089f514a2eb9955d49ae5b9b04c7af5ead5bd1a4..029be03fa8bbf90f550b5ae924cfdaf4dd0abf0a 100644 (file)
@@ -6,11 +6,7 @@
 --                                                                          --
 --                                 B o d y                                  --
 --                                                                          --
---          Copyright (C) 2003-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 --
--- apply solely to the  contents of the part following the private keyword. --
+--          Copyright (C) 2003-2006, 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- --
index b3ef1289bf7e1740dac654b7bb2aa3460d3a393b..0ff61a2b22d2d94646a150778a0f937aa1c5e49b 100644 (file)
@@ -6,11 +6,7 @@
 --                                                                          --
 --                                 B o d y                                  --
 --                                                                          --
---          Copyright (C) 2003-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 --
--- apply solely to the  contents of the part following the private keyword. --
+--          Copyright (C) 2003-2006, 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- --