[Bug target/69846] empty struct value fails to pass properly
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69846 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed||2018-01-26 Ever confirmed|0 |1 --- Comment #3 from H.J. Lu --- This is a dup of PR 60336. I will submit a testcase and close it.
[Bug target/69846] empty struct value fails to pass properly
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69846 H.J. Lu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |DUPLICATE Target Milestone|--- |8.0 --- Comment #4 from H.J. Lu --- g++.dg/abi/pr60336-2.C is very similar to this one. *** This bug has been marked as a duplicate of bug 60336 ***
[Bug target/69846] empty struct value fails to pass properly
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69846 --- Comment #1 from Andrew Pinski --- For C++98, this is undefined code because dummy is not a POD. For C++11, I don't know if it is undefined or not.
[Bug target/69846] empty struct value fails to pass properly
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69846 --- Comment #2 from Jonathan Wakely --- In C++11 dummy is a POD, and passing non-PODs through varargs is conditionally-supported anyway (and G++ supports it).