[Aldor-l] GCC / ICC differences

pip88nl at gmail.com pip88nl at gmail.com
Sat Aug 16 22:06:31 EDT 2008


I just did a full recompile using ICC (everything, including rona) and
found a few differences. Aldor compiled with gcc segfaults when compiling
tests/library/axllib/bug1247.as, but not when compiled with icc. Also,
tests/library/axllib/float4.as has the following differences:

< Original: 0
< integer 0 = 0
< fraction 0 = 0
< round 0 = 0
< round(0,nearest) = 0
< round(0,up) = 0
< round(0,down) = 0
< round(0,zero) = 0
< round(0,any) = 0
---
> Original: -0
> integer -0 = 0
> fraction -0 = 0
> round -0 = 0
> round(-0,nearest) = 0
> round(-0,up) = 0
> round(-0,down) = 0
> round(-0,zero) = 0
> round(-0,any) = 0

The latter is ICC. This output is in fact equal to the output in
aldor/lib/axllib/testout/float4.out and supposedly correct. What is GCC
doing to get different results and are these actually correct, as well?

Pippijn
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://aldor.org/pipermail/aldor-l_aldor.org/attachments/20080817/7c156270/attachment.bin 


More information about the Aldor-l mailing list