Message ID | 1b3b0692001991a287db705ca5fc0d49245197db.camel@kernkonzept.com |
---|---|
State | Accepted |
Headers |
Return-Path: <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2411:b0:101:2151:f287 with SMTP id m17csp1610154dyi; Thu, 11 Jan 2024 09:39:44 -0800 (PST) X-Google-Smtp-Source: AGHT+IHXr4uSHV84w9VSsRd+7iKHdcSw2jme5hPBuCMu7rbrggMNLkUzZxQ0OU2Izlqkj2m3PXD8 X-Received: by 2002:a05:6830:3443:b0:6dc:60d4:7a0d with SMTP id b3-20020a056830344300b006dc60d47a0dmr130701otu.56.1704994783807; Thu, 11 Jan 2024 09:39:43 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1704994783; cv=pass; d=google.com; s=arc-20160816; b=kmjOZhvsKVUvOy0vM64FCkh+lq5mb18q0mYBfvf4OcsU+AZn8x3+WhAEbxSELWgq4j 9T4fSQIEylAuvFubYQcA5nZliSko2opeoxX+YNyNmAr1Y4UKdvcIKQ6PtiACIqA2hn4J FH7dfxo2BkyjY/lzAvgqWGaJ8+Bc4lbIGp9itOV9We2EjKx6/vv/wpcoZPq6P5jdxuzz QUY/wv1Lw0U/8Qlce5UAja4lVaH+mUllry4oc+7VfW7EgVilcnc6IVz8tR9d3sGUbhI7 UBm6AywK5tKJaZxp7vwhBfZTUAfA8aRRIBYkaBH/tAGS8uATKVm0xDk9YQcC+ekVMeWR 9eqA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:mime-version:user-agent :organization:references:autocrypt:date:to:from:subject:message-id :dkim-signature:arc-filter:dmarc-filter:delivered-to; bh=jeg5aThzWhV5CCb9qyJwAoZ55H02CRK+bfQnWmYh99w=; fh=nd1cbN08uIXft/VmiUyc9GRj/f+dB+ukT49S08W8ThM=; b=tnlNPhe1F/04iKHWvN9Y8YkKKVcKtuM7JCIvRnEzf8Cl4niKgX6o8qDCdNkpqtFGNr Ir0rCQ4EgverBrOjquwLRR/EWjviZ3oUgrCOjsobAd44iRmir3qCdhZzm4wQu3Qy7k6I lRsMwbkYGNKNqnSFN70vDhwz5gzOm+ItRviLdQs0JthgTQaKdv1jnPX4S1d7I6BXqHuR 9gjR9WwkGzCLwksOTWsmXfpRQ6nE7evGIUIEKNLaDQei/adIHaZR/zUmuHAKfI/pvjOM 1vJkfnWh/qPcPTfce2wvJFUvFdFgJMVUJVrLLRROkjPV/zqSqj+pww0D9+cUQr/CoqsG gQlQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernkonzept.com header.s=mx1 header.b=NvdmYK2x; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernkonzept.com Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id y11-20020a05622a004b00b0042753fdb817si1383935qtw.449.2024.01.11.09.39.43 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 09:39:43 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@kernkonzept.com header.s=mx1 header.b=NvdmYK2x; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernkonzept.com Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id A4867386C5BE for <ouuuleilei@gmail.com>; Thu, 11 Jan 2024 16:04:49 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mx.kernkonzept.com (serv1.kernkonzept.com [IPv6:2a01:4f8:1c1c:b490::2]) by sourceware.org (Postfix) with ESMTPS id 2753E3857C64; Thu, 11 Jan 2024 16:03:24 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 2753E3857C64 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=kernkonzept.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=kernkonzept.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 2753E3857C64 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a01:4f8:1c1c:b490::2 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704989006; cv=none; b=exQeP9d9lFj8RNHrHSi2EQ6aOMEd1Hxr4yPQbls3OleI7FaLt5bWOlhf+nOWqm8r1ogVUCCucqVpQhXEN6sGBlHZVYUbmqdY1NkRfYentS1ZStoUFQt/SkyjxmYQYiDo7sqwRPx0ggCMquNZIC7uccUNZdxMd+OSl811bDWQf94= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704989006; c=relaxed/simple; bh=7yye4Lu55W9ea1AIYQMycWLHya0cinZ0emZm0uWdKMY=; h=DKIM-Signature:Message-ID:Subject:From:To:Date:MIME-Version; b=jOp0fLZaGurrLzPiXOTk2IUFWzI8gUjczM0m0UW44fSYJM/gBdehFwVjkPhp/6kJ/8XV75H3E3xJBmISAl6hVEvNMIPcp2kOUMPxj4dTGjZ9UmczgDLjJOkAEPseXp3PIV49AI4vQqJx/gt0qpAJziptEFsn0py5M98tSnxATs4= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kernkonzept.com; s=mx1; h=MIME-Version:Content-Type:References:Date:To:From :Subject:Message-ID:Content-Transfer-Encoding:In-Reply-To:Cc:Reply-To: Content-ID:Content-Description; bh=jeg5aThzWhV5CCb9qyJwAoZ55H02CRK+bfQnWmYh99w=; b=NvdmYK2xlGPVgl2rlNeMqZqRKu khfJxLKcny82fOQUBFdQJ0qyrQcs6K9n8ncd3U3IZZ7b2yGLexsJe6p+pQhuaOpnP8/hpUv96fxHU 2RzZ5lq15T533sC4ZXXQCUX3sUhyhKQ+uOy8PRaf+PacPeg11AeC20btMCLziEiP11zNIPY/tjPoL zORn2EpPVHT4/q+Wa2smxGEQ6ksfYnL+OcIZGSMF8v4d4gYHnlVOq03IN8yUfDxU7/hPirY54+1HH FOkqdlQKxXECt/uR4n9dJz42ypI4N9Gplku9QYW8Gyvb9LW/8tU7e8wGp9CTJzm6TU0Nfabhe/sND Ys+Y6HUg==; Received: from [10.22.3.160] by mx.kernkonzept.com with esmtpsa (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.96) id 1rNxWc-00HDdi-12; Thu, 11 Jan 2024 17:03:22 +0100 Message-ID: <1b3b0692001991a287db705ca5fc0d49245197db.camel@kernkonzept.com> Subject: Fwd: [PATCH] libstdc++: use updated type for __unexpected_handler From: Marcus =?iso-8859-1?q?H=E4hnel?= <marcus.haehnel@kernkonzept.com> To: gcc-patches <gcc-patches@gcc.gnu.org>, libstdc++@gcc.gnu.org Date: Thu, 11 Jan 2024 17:03:15 +0100 Autocrypt: addr=marcus.haehnel@kernkonzept.com; prefer-encrypt=mutual; keydata=mQENBFvYMvABCAC5yqmfP2iTQFolZvwUEU1pv9D8Q6Kn7K57iqrQmdOnA6E0w4XMfESKjGU9wU11EiE/z1WyAfURXcyZ8HPoJQZZmlKxqJzf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XrQ+KoRYeEEU2XZLyvaqaK9ReadPSG0YGUBucsahwARAQABiQE2BBgBCAAgFiEEgT4APPdHbf52NFOF/DQnC9omn0QFAlvYMvACGwwACgkQ/DQnC9omn0TqjQf/eInd3UKZJP4BNGYVh3i3OJazoYs93O9gYVmQ3MOdBr0iLwJUJIiPNmvFdC+9B3NinDZc6bttnddq+iaoHwOKYJl8J0OltGru/IS8T+NCYHZmwGTWljSRLysGT8PTYB+S+VuUNWBdBSCIchmL01JvxXCzIrKEAibzee9YV3ZpopXRguNf6Y5GO8RhJ1NI+Ts8ctLYMnmXB0Cxl+H5bbDFAFDbKdY6X/ERjjITA4gQVLtzDur9RyfQnvA987u9vIfPfP+jYjwL14kAv0i9Rkt0fRgGkLo5rdt1aot8cf2dNcEk6WaM+79ddfUXNEY8ajeOZRHFFvpZPSd79ppXodOwxg== References: <20231215154331.12114-1-marcus.haehnel@kernkonzept.com> Organization: Kernkonzept Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-dNypzh1tcaFaPpstwHbC" User-Agent: Evolution 3.50.2 MIME-Version: 1.0 X-Spam-Status: No, score=-13.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1787816044882473932 X-GMAIL-MSGID: 1787816610588000911 |
Series |
libstdc++: use updated type for __unexpected_handler
|
|
Checks
Context | Check | Description |
---|---|---|
snail/gcc-patch-check | success | Github commit url |
Commit Message
Marcus Hähnel
Jan. 11, 2024, 4:03 p.m. UTC
Forwarding since I forgot to add gcc-patches in the original mail. Sorry for the noise. -- >8 -- Commit f4130a3eb545ab1aaf3ecb44f3d06b43e3751e04 changed the type of __expected_handler in libsupc++/unwind-cxx.h to be a std::terminate_handler to avoid a deprecated warning. However, the definition in eh_unex_handler.cc still used the old type (std::unexpected_handler) and thus causes a warning when compiling libstdc++ with -Wdeprecated-declarations (which is the default, for example, for clang). Adapt the definition to match the declaration. libstdc++-v3/ChangeLog: * libsupc++/eh_unex_handler: Adjust definition type to declaration. --- libstdc++-v3/libsupc++/eh_unex_handler.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libstdc++-v3/libsupc++/eh_unex_handler.cc b/libstdc++-v3/libsupc++/eh_unex_handler.cc index 0b7fa34e082..879585ee513 100644 --- a/libstdc++-v3/libsupc++/eh_unex_handler.cc +++ b/libstdc++-v3/libsupc++/eh_unex_handler.cc @@ -25,5 +25,5 @@ #include "unwind-cxx.h" /* The current installed user handler. */ -std::unexpected_handler __cxxabiv1::__unexpected_handler = std::terminate; +std::terminate_handler __cxxabiv1::__unexpected_handler = std::terminate;