On Sat, Apr 25, 2020 at 08:48:09AM -0500, Segher Boessenkool wrote: > > This patch adds a langhook, which will return true for those cases. It > > shouldn't be problematic with LTO, because lto1 should see only > > structures/classes that are already laid out, or if it does some structure > > layout, it won't be something that has C++17 empty base artificial fields. > > Ah okay. Maybe this *whole* thing should have been a langhook?
It can't be because of LTO. Jakub