[Aldor-l] GCC / ICC differences

pip88nl at gmail.com pip88nl at gmail.com
Sun Aug 17 06:25:58 EDT 2008


On Sat, Aug 16, 2008 at 10:53:23PM -0500, Gabriel Dos Reis wrote:
> What optimization flags did you use for both compilers?
> 
> -- Gaby

For this test: none, but looking at the ICC asm output shows me that ICC
does actually optimise (it uses the 2-byte xorl %eax, %eax instead of the
5-byte mov $0, %eax in return 0, for example). I passed -fwrapv to GCC
just to be sure, but it didn't blow up there, anyway. I don't know how to
force ICC not to optimise, yet.

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/41494ddd/attachment.bin 


More information about the Aldor-l mailing list