projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b7c38a
)
system-darwin-x86.ads: Correct bad definition of Max_Nonbinary_Modulus
author
Robert Dewar
<dewar@adacore.com>
Mon, 4 Aug 2008 08:37:40 +0000
(10:37 +0200)
committer
Arnaud Charlet
<charlet@gcc.gnu.org>
Mon, 4 Aug 2008 08:37:40 +0000
(10:37 +0200)
2008-08-04 Robert Dewar <dewar@adacore.com>
* system-darwin-x86.ads: Correct bad definition of Max_Nonbinary_Modulus
From-SVN: r138576
gcc/ada/system-darwin-x86.ads
patch
|
blob
|
history
diff --git
a/gcc/ada/system-darwin-x86.ads
b/gcc/ada/system-darwin-x86.ads
index
04cdbbc
..
1b84681
100644
(file)
--- a/
gcc/ada/system-darwin-x86.ads
+++ b/
gcc/ada/system-darwin-x86.ads
@@
-51,7
+51,7
@@
package System is
Max_Int : constant := Long_Long_Integer'Last;
Max_Binary_Modulus : constant := 2 ** Long_Long_Integer'Size;
- Max_Nonbinary_Modulus : constant :=
Integer'Last
;
+ Max_Nonbinary_Modulus : constant :=
2 ** Integer'Size - 1
;
Max_Base_Digits : constant := Long_Long_Float'Digits;
Max_Digits : constant := Long_Long_Float'Digits;