[Bug target/60336] va_start corrupts 6-th argument in case of empty type used before the format string
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Feb 25 22:35:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60336
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|c++ |target
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to H.J. Lu from comment #2)
> Should g++ put pass the empty struct on stack?
It is a target bug if it is passing on the stack. Note in C++, the size of the
struct is 1 while in C, the size is 0.
More information about the Gcc-bugs
mailing list