X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=gcc%2Fada%2Fs-pack60.adb;h=b1668e2af8dd92c2bc472dae199109349ac8728d;hb=f163f79ea337476c9b935eca4b2f0a747b1eb47e;hp=630e84b1121b841e3a0231f20008147ccf874816;hpb=f27cea3abf8ded22456f5f46a812cc3915969815;p=pf3gnuchains%2Fgcc-fork.git diff --git a/gcc/ada/s-pack60.adb b/gcc/ada/s-pack60.adb index 630e84b1121..b1668e2af8d 100644 --- a/gcc/ada/s-pack60.adb +++ b/gcc/ada/s-pack60.adb @@ -6,7 +6,7 @@ -- -- -- B o d y -- -- -- --- Copyright (C) 1992-2005 Free Software Foundation, Inc. -- +-- Copyright (C) 1992-2007, 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,7 +33,7 @@ with System.Storage_Elements; with System.Unsigned_Types; -with Unchecked_Conversion; +with Ada.Unchecked_Conversion; package body System.Pack_60 is @@ -71,7 +71,7 @@ package body System.Pack_60 is type Cluster_Ref is access Cluster; function To_Ref is new - Unchecked_Conversion (System.Address, Cluster_Ref); + Ada.Unchecked_Conversion (System.Address, Cluster_Ref); -- The following declarations are for the case where the address -- passed to GetU_60 or SetU_60 is not guaranteed to be aligned. @@ -84,7 +84,7 @@ package body System.Pack_60 is type ClusterU_Ref is access ClusterU; function To_Ref is new - Unchecked_Conversion (System.Address, ClusterU_Ref); + Ada.Unchecked_Conversion (System.Address, ClusterU_Ref); ------------ -- Get_60 -- @@ -92,7 +92,6 @@ package body System.Pack_60 is function Get_60 (Arr : System.Address; N : Natural) return Bits_60 is C : constant Cluster_Ref := To_Ref (Arr + Bits * Ofs (Uns (N) / 8)); - begin case N07 (Uns (N) mod 8) is when 0 => return C.E0; @@ -112,7 +111,6 @@ package body System.Pack_60 is function GetU_60 (Arr : System.Address; N : Natural) return Bits_60 is C : constant ClusterU_Ref := To_Ref (Arr + Bits * Ofs (Uns (N) / 8)); - begin case N07 (Uns (N) mod 8) is when 0 => return C.E0; @@ -132,7 +130,6 @@ package body System.Pack_60 is procedure Set_60 (Arr : System.Address; N : Natural; E : Bits_60) is C : constant Cluster_Ref := To_Ref (Arr + Bits * Ofs (Uns (N) / 8)); - begin case N07 (Uns (N) mod 8) is when 0 => C.E0 := E; @@ -152,7 +149,6 @@ package body System.Pack_60 is procedure SetU_60 (Arr : System.Address; N : Natural; E : Bits_60) is C : constant ClusterU_Ref := To_Ref (Arr + Bits * Ofs (Uns (N) / 8)); - begin case N07 (Uns (N) mod 8) is when 0 => C.E0 := E;