From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 81DAC385B53E; Tue, 23 May 2023 17:20:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 81DAC385B53E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1684862432; bh=i91W0JHeAtW35LxfKPThjcy9Pe2Vnwj90rl/5VK/zP8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=VC9qa8Dv/lNhybL4hRxEUvFpqIqxTwacifBwoOyQAjJp4YJAdpl6ckqVShT5skPjs 7YFLFO0vUec1/BDsdONQlBsA/YqHY1TMUFLLPDlRGZJ85KWVGFC2oHhKFlDnB/YclB haah029FlphKfrPNyTVDDqJ+FX/Ha61d8VoTNcfg= From: "m101010a at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/97720] throw in try in noexcept fn calls terminate without handling the exception Date: Tue, 23 May 2023 17:20:31 +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: 10.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: m101010a at gmail dot com 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: 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=3D97720 --- Comment #6 from m101010a at gmail dot com --- > represent the second case in the action table as an empty exception speci= fication like C++98 throw() That will deal with this issue and PR88218, but won't solve PR55918 since u= sing throw() causes the stack to unwind. I don't believe there's a way to solve PR55918 without modifying the personality function in some way; if terminat= e is called in the handler then we're already in phase 2, which means the stack = has already been unwound.=