------- Comment #24 from redi at gcc dot gnu dot org  2010-08-11 17:57 -------
(In reply to comment #22)
> 
> If GCC supports cdecl on a x86 plaform then it must support the packing of
> parameters as defined for x86 (it is not standardize that I know of, but it is
> well defined). I sugest reading
> http://en.wikipedia.org/wiki/X86_calling_conventions for a number of 
> references
> on this parameter packing in the stack, one of my favorites is
> "http://sco.com./developers/devspecs/abi386-4.pdf"; where you can read in
> "Figure 3-48: C Stack Frame" how the parameters should be placed on the stack.

That's a good reference. Did you see page 70?

If you're not interested in writing portable code, don't blame the compiler.


> Anyway, that enough for me, I already spent way too much energy and time 

At least we can agree on that.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45249

Reply via email to