This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/58822] Segfault when calling make_shared
- From: "manu at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 23 Oct 2013 13:56:04 +0000
- Subject: [Bug c++/58822] Segfault when calling make_shared
- Auto-submitted: auto-generated
- References: <bug-58822-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58822
Manuel LÃpez-IbÃÃez <manu at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |manu at gcc dot gnu.org
--- Comment #22 from Manuel LÃpez-IbÃÃez <manu at gcc dot gnu.org> ---
(In reply to Michi Henning from comment #20)
> I'm not really sure what else to do here. The code in total only contains
> constructors and destructors. Just looking again, I forgot to delete a
> #include for <string> in ExceptionImplBase, and I guess I could have deleted
> the namespaces as well.
>
> I'm pretty sure that I'm not using anything in shared_ptr that's outside the
> standard, and the standard way to get access to shared_ptr is to include
> <memory>. If I include something else, I end up in implementation territory,
> don't I?
Some ideas on how to go about reducing testcases are here:
http://gcc.gnu.org/bugs/minimize.html