This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]