This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: double argument casting
- From: Jorge PEREZ <jorge dot perez at invia dot fr>
- To: Cedric Roux <cedric dot roux at acri-st dot fr>
- Cc: laurent dot poche at gmail dot com, gcc-help at gcc dot gnu dot org
- Date: Fri, 22 Oct 2010 15:11:59 +0200
- Subject: Re: double argument casting
- References: <4CC16451.8000203@invia.fr> <4CC18ACE.9000609@acri-st.fr>
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
>