This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/67503] String cannot be loaded from binary representation
- From: "radventure at yandex dot ru" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 08 Sep 2015 17:08:43 +0000
- Subject: [Bug libstdc++/67503] String cannot be loaded from binary representation
- Auto-submitted: auto-generated
- References: <bug-67503-4 at http dot gcc dot gnu dot org/bugzilla/>
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?