From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21366 invoked by alias); 23 Oct 2013 12:38:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 21290 invoked by uid 48); 23 Oct 2013 12:38:48 -0000 From: "paolo.carlini at oracle dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/58822] Segfault when calling make_shared Date: Wed, 23 Oct 2013 12:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.8.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: paolo.carlini at oracle dot com X-Bugzilla-Status: REOPENED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-10/txt/msg01693.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58822 --- Comment #21 from Paolo Carlini --- You could start from the .ii: edit it, delete all the things you don't use. Or start by removing the inclusion of and adding to the testcase a mini-version of std::shared_ptr, with bits copied from . See what I mean? For sure, nobody working on C++ front-end bugs wants to see the whole included in the testcase (your attachment is 500 KBytes!!) likely will just put it apart and the issue will remain unfixed for months or even years (wouldn't be the first time)