Thanks Cedric, I actually checked the ABI (SYSTEM V APPLICATION BINARY INTERFACE) but couldn't find any information regarding the calling convention when casts should be made, it also seems to differ from GCC to LLVM, no idea why though :( Cedric Roux wrote: > Jorge PEREZ wrote: >> Now, I'm also wondering if this is because both compilers use different >> calling conventions? is this standarized somewhere? why such difference? > > normally this kind of things is defined in the ABI > (Application Binary Interface). > see: http://www.sparc.com/specificationsDownload.html >