[Bug target/85718] Incorrect name mangling for va_list on mipsel

2018-05-10 Thread roliver at roku dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85718 --- Comment #5 from Richard Oliver --- (In reply to Jonathan Wakely from comment #4) > So then this behaviour is correct and working as intended. Even accepting the fact that 'void *' is a valid implementation for va_args, surely the code genera

[Bug c++/85718] New: Incorrect name mangling for va_list on mipsel

2018-05-09 Thread roliver at roku dot com
++ Assignee: unassigned at gcc dot gnu.org Reporter: roliver at roku dot com Target Milestone: --- #include extern void log(char const* fmt, ...); extern void log(char const* fmt, va_list args); int main() { int i = 5; log("Location of i: %p