https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60336
--- Comment #41 from H.J. Lu <hjl.tools at gmail dot com> --- (In reply to Andrew Pinski from comment #39) > You should also update gimplify.c's zero_sized_type to be the same as your > empty_record_p. It won't work since the size of empty class isn't zero in C++. We just pass and return it like zero size record in C++.