https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67503
--- Comment #6 from radventure at yandex dot ru --- (In reply to Jonathan Wakely from comment #4) > (In reply to radventure from comment #3) > > I can solve the alignment but prbolem will not be fixed. > > I agree with remark about "non-trivial types" but this code works in > > previous gcc versions and works in visual c++ 2015. > > It was never valid before and it's not valid now. Just because it appeared > to work previously doesn't make it valid. Code validity it's great. But what about backward compatibility?