[Bug c++/60336] empty struct value is passed differently in C and C++
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Aug 12 22:58:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60336
--- Comment #23 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to H.J. Lu from comment #22)
> This is a target independent issue. Clang++ skips empty struct argument
> and g++ passes it. Skip empty struct argument requires middle-end changes.
Except in c++, the struct is non zero in size.
More information about the Gcc-bugs
mailing list