[Bug target/50818] va_list is filled incorrectly in functions with ms_abi attribute on amd64

andrey.sploshnov at kaspersky dot com gcc-bugzilla@gcc.gnu.org
Fri Oct 21 09:17:00 GMT 2011


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

--- Comment #1 from Andrey Sploshnov <andrey.sploshnov at kaspersky dot com> 2011-10-21 09:16:32 UTC ---
Sorry, there is a typo in the caller() function, it should be:

const char* str = "arg";
callee("a string: %s", str);

test.ii contains a correct version of the case



More information about the Gcc-bugs mailing list