question about -mpush-args -maccumulate-outgoing-args on gcc for x86

Ian Lance Taylor iant@google.com
Tue Sep 1 16:31:00 GMT 2009


Godmar Back <godmar@gmail.com> writes:

> It appears to me that '-mno-push-args' is the enabled by default (*),
> and not '-mpush-args'.

The default varies by processor--it dependson the -mtune option.

> Moreover, since -maccumulate-outgoing-args
> implies -mno-push-args, it appears that the only way to obtain
> 'push-args' behavior is to specify '-mno-accumulate-outgoing-args' - a
> switch which the documentation doesn't even mention.

That is likely true.

If you want to send a patch for the docs, that would be great.

Ian



More information about the Gcc mailing list