diff options
author | Robert Dewar <dewar@gnat.com> | 2004-10-27 15:39:44 +0200 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2004-10-27 15:39:44 +0200 |
commit | 282c6a893499762fecad905c5ffdc4161af395f8 (patch) | |
tree | c31d012da12b7855c6e2960f62cc5aebec811ca6 /gcc/ada/s-bitops.adb | |
parent | 04b633a8c872b91fdb78a8adf30ba922bc4f4157 (diff) | |
download | gcc-282c6a893499762fecad905c5ffdc4161af395f8.zip gcc-282c6a893499762fecad905c5ffdc4161af395f8.tar.gz gcc-282c6a893499762fecad905c5ffdc4161af395f8.tar.bz2 |
s-bitops.adb (Bit_Eq): Remove redundant check.
2004-10-26 Robert Dewar <dewar@gnat.com>
* s-bitops.adb (Bit_Eq): Remove redundant check.
* s-bitops.ads: Minor comment updates
Change some occurrences of Address to System.Address
* s-carsi8.ads: Fix minor cut-and-paste error in comments
From-SVN: r89664
Diffstat (limited to 'gcc/ada/s-bitops.adb')
-rw-r--r-- | gcc/ada/s-bitops.adb | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/gcc/ada/s-bitops.adb b/gcc/ada/s-bitops.adb index 1e00322..b1e83d7 100644 --- a/gcc/ada/s-bitops.adb +++ b/gcc/ada/s-bitops.adb @@ -6,7 +6,7 @@ -- -- -- B o d y -- -- -- --- Copyright (C) 1996-2002 Free Software Foundation, Inc. -- +-- Copyright (C) 1996-2004 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- -- @@ -123,10 +123,7 @@ package body System.Bit_Ops is Bitc : constant Natural := Llen mod 8; begin - if Llen /= Rlen then - return False; - - elsif LeftB (1 .. BLen) /= RightB (1 .. BLen) then + if LeftB (1 .. BLen) /= RightB (1 .. BLen) then return False; elsif Bitc /= 0 then |