From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16566 invoked by alias); 26 Nov 2013 23:06:33 -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 16533 invoked by uid 48); 26 Nov 2013 23:06:30 -0000 From: "dspeterson at tagged dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/57645] [4.8/4.9 Regression] Explicitly-declared destructor with no exception specification is always noexcept(true) Date: Tue, 26 Nov 2013 23:06: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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dspeterson at tagged dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: paolo.carlini at oracle dot com X-Bugzilla-Target-Milestone: 4.8.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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-11/txt/msg02727.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57645 Dave Peterson changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dspeterson at tagged dot com --- Comment #5 from Dave Peterson --- class TException { }; class TThrower { public: ~TThrower() { throw TException(); } }; int main(int /*argc*/, char ** /*argv*/) { try { TThrower thrower; } catch (const TException &) { } return 0; } I compile and run the above program with g++ 4.8.2 and get the following behavior: terminate called after throwing an instance of 'TException' Aborted (core dumped) So it looks like the issue still isn't fixed.