Package: gcc-4.4
Version: 4.4.4-1
Severity: important
This code:
#include
int main(void) {
unsigned long long l = 97979797979797980LL;
printf("%g\n", (double)l);
return(0);
}
outputs 2.47804e+17 on sparc when compiled with gcc-4.4 -O0 in squeeze
(4.4.2-9) and sid (4.4.4-1)
Compili
On 13 May 2010 09:46, Iain Buclaw wrote:
>
> I'm happy to say this is resolved (for me). Attaching updated
> gdc-4.3.dpatch which addresses the issue.
>
>
And a patch against debian's gccsvn ( for the lazy ;).
--
Iain Buclaw
*(p < e ? p++ : p) = (c & 0x0f) + '0';
Index: debian/patches/gdc-4.3.
[i...@netbook ~]$ cat md5test.d
import std.md5;
import std.stdio;
void main(){
// testcase from md5.d unittests
ubyte[16] digest;
sum (digest, "abc");
writefln(digestToString(digest));
assert(digest == cast(ubyte[])x"900150983cd24fb0d6963f7d28e17f72");
}
[i...@netbook ~]$ gdmd-4.3 -unittest md
3 matches
Mail list logo