This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/60336] empty struct value is passed differently in C and C++
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 16 Nov 2015 08:54:49 +0000
- Subject: [Bug c++/60336] empty struct value is passed differently in C and C++
- Auto-submitted: auto-generated
- References: <bug-60336-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60336
--- Comment #39 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
You should also update gimplify.c's zero_sized_type to be the same as your
empty_record_p.