[Bug libstdc++/67503] String cannot be loaded from binary representation

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Sep 8 17:12:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67503

--- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to radventure from comment #5)
> When you use local buffer for storing string value it not necessary to have
> pointer to it. And we can reduce the size of string by the syzeof(pointer).

Well an union would work here except it would make all other code more messy.
There are a few places need to check that it equals the array before doing
something special.



More information about the Gcc-bugs mailing list