This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/85348] ostringstream with #pragma pack(1) causes stack smashing error
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 11 Apr 2018 13:34:24 +0000
- Subject: [Bug c++/85348] ostringstream with #pragma pack(1) causes stack smashing error
- Auto-submitted: auto-generated
- References: <bug-85348-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85348
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
I don't think you want to do this... aka "doctor it hurts".
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
#pragma pack(1)
causes an abi change so this is expected.