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 c++/58822] Segfault when calling make_shared


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

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