This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]