From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A264D385770A; Mon, 10 Jul 2023 08:31:39 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A264D385770A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1688977899; bh=P/Fn5djFUiyElPP2/5mJwisoLpNozFRkHo/vhBragk4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=kwrexM4I2taxrDAeHJn7Ggjg6UFR+44yFkJyjy4vv/H9Z2HMjP/w48BKplaXUMJl8 9KA2bJKkOD2N+pHAGNBUo3CzwlUab+fUOWCq8azDyg8XkBid0wzfWNJuvNhVUvodWo aTBUu2cY5OUML8GXtq77H3WpfHTSK9DW9gVwWHk8= From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/86130] Expect SIGSEGV but program just silently exits Date: Mon, 10 Jul 2023 08:31:13 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 8.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: 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: bug_status everconfirmed cf_reconfirmed_on Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D86130 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 Last reconfirmed| |2023-07-10 --- Comment #18 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #13) > I think there would need to be a period of deprecation and an optional > assertion enabled by _GLIBCXX_ASSERTIONS before we can do that (assuming = we > want to). As I said in the PR 109891 dup, _GLIBCXX_DEBUG_PEDANTIC exists for precisely this kind of case: https://gcc.gnu.org/onlinedocs/libstdc++/manual/debug_mode_semantics.html So let's add that for now.=