[Bug c/78868] New: When one variadic function calls another one, the parameters are reversed, if va_arg is used directly in function call.

2016-12-19 Thread vlad at cloudflare dot com
Version: 4.9.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: vlad at cloudflare dot com Target Milestone: --- Created attachment 40374 --> https://gcc.gnu.org/bugzi

[Bug c/78868] When one variadic function calls another one, the parameters are reversed, if va_arg is used directly in function call.

2016-12-19 Thread vlad at cloudflare dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78868 --- Comment #3 from Vlad Krasnov --- I though that since va_arg is defined as a macro, it should be evaluated in order.