[Bug libstdc++/86130] Expect SIGSEGV but program just silently exits
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jul 10 08:31:13 GMT 2023
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86130
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever confirmed|0 |1
Last reconfirmed| |2023-07-10
--- Comment #18 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(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.
More information about the Gcc-bugs
mailing list