From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A8D3C3858016; Thu, 9 Dec 2021 13:53:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A8D3C3858016 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/103630] [9/10/11/12 Regression] std::make_exception_ptr(t) is ill-formed Date: Thu, 09 Dec 2021 13:53:04 +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: 12.0 X-Bugzilla-Keywords: rejects-valid, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: redi at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.5 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Dec 2021 13:53:04 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D103630 --- Comment #1 from Jonathan Wakely --- Also, since the changes for PR 90295 is no longer us= able in C++98: include/bits/exception_ptr.h:182: error: declaration of 'std::__exception_ptr::exception_ptr::exception_ptr()' has a different exception specifier include/bits/exception_ptr.h:107: note: from previous declaration 'std::__exception_ptr::exception_ptr::exception_ptr() throw ()' include/bits/exception_ptr.h:188: error: declaration of 'std::__exception_ptr::exception_ptr::exception_ptr(const std::__exception_ptr::exception_ptr&)' has a different exception specifier include/bits/exception_ptr.h:109: note: from previous declaration 'std::__exception_ptr::exception_ptr::exception_ptr(const std::__exception_ptr::exception_ptr&) throw ()'=