Message ID | 20240828094033.1684579-1-jason@redhat.com |
---|---|
State | New |
Headers | show
Return-Path: <gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=MxSjlX7s; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=server2.sourceware.org; envelope-from=gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Wtzwh0h4Gz1yg0 for <incoming@patchwork.ozlabs.org>; Wed, 28 Aug 2024 19:42:44 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id E790C3865497 for <incoming@patchwork.ozlabs.org>; Wed, 28 Aug 2024 09:42:41 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTP id 76246384AB5B for <gcc-patches@gcc.gnu.org>; Wed, 28 Aug 2024 09:40:38 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 76246384AB5B Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 76246384AB5B Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1724838040; cv=none; b=XFeyW3h1j17cjj6lYRQupKItEHr8pzHHfRUbHsg8iyc292uDV3tzeYYH7+hJd+CXAT23yHfsyEjNQS8AgtgGiQlyGxIYQ+aaIWpHdk8QS3JzpF16+PBrSOqVKTmHNFRQO34Mkk1LQhAU18CjTRSU6zQPiJNKt+9FbJuEv4bGO0U= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1724838040; c=relaxed/simple; bh=gDKjEAELTe3XPNC7juucXjKmNIMD83Xcy4ftA0zzrBk=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=jevh7AG+D7/zFhB5k8oqTUQBJIqTSESFcNy5fkSKgorf0aifbSk5qY933Npk9Ow1ouNMTp1N2N4IRCBEOQ4HjFtYOaLsBzPLn9rtBoN1PLcucoezZZ8mG/kt0ErECUFLgNDaxXfntDjOzu/3BE+aen3YcIEJuvMuq60OHmaahbk= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1724838038; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=fNTycfg/Zg2kC3CLwN9T27QU3s+Ga2Hq107/5rkvY38=; b=MxSjlX7sZCFhPAfM++Hbn5IwmdoRy3M+ADiv4J0qiI0p0uKP6XbooXrBGRjXNDbwrqZMhT wpmk8GqjRBmJBzBTc5ehaD4aJ3qbA/br5zwDLUaEJs/FSdkGz0qvbdGnYgfntIN899woBs QO2ZaUA6vCjBKvVVOi1syWbASEbYvc4= Received: from mail-qv1-f69.google.com (mail-qv1-f69.google.com [209.85.219.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-690-urfpKu2iOkSE43O1LfbmeA-1; Wed, 28 Aug 2024 05:40:36 -0400 X-MC-Unique: urfpKu2iOkSE43O1LfbmeA-1 Received: by mail-qv1-f69.google.com with SMTP id 6a1803df08f44-6c181e15e90so43702286d6.0 for <gcc-patches@gcc.gnu.org>; Wed, 28 Aug 2024 02:40:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724838036; x=1725442836; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=fNTycfg/Zg2kC3CLwN9T27QU3s+Ga2Hq107/5rkvY38=; b=aCIQSVp4WY1twDG0L+MQgueF0pnjWE2Gd6nDlwqnxJ/XNUi4hIldqu834HoSxz19jP hUeGXcKmtdRql+J+pJAB7jyJ+4VYiromiMaN7j5/lppl46WALWkvjSNMxLCbjCg9YdwH wbgfUT1ccjCcgwVWqibwkyRN934puQraz868nLwnkYafFc83Q/578GZtDDf2rRbDIAFE S4MTYxFIqJ81l+luzcpxLnpz7J6SYJP8EgNejarlJNLKYcfYYQ+y8jLCTHXScD6BFNtw P+XYUpwdEGf2PaKEoQhDYIq8XzAgb3ynPPBFA8XvdMy9MwF20dFMbt1KcfIt4kjOuuYE 8ANA== X-Gm-Message-State: AOJu0YzEErT9hdNvcbTW7ftd50tbtlJKI2Pfc+w8IE+MEDBd7F/JCQeq m4FUmYmPGdo8Fmog80XE5bAEKF04aZzbn6UrOY0K5BiC9UgaWjSF6vjlHfI5YhASqQN7eWZMZvb mfITAnoFTuPmIEhIZugjUoZ2CHQMG3cH8ZzCnuuabYOoUQkNrLEq8o4WRRZClEzuNq+NUxXYqSu tTZ4G2SBtSaODSsz/SkZHDV4l74GTHFiTveug= X-Received: by 2002:a05:6214:5906:b0:6c1:6b99:f00 with SMTP id 6a1803df08f44-6c16dc3c0c2mr201011016d6.17.1724838035732; Wed, 28 Aug 2024 02:40:35 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHAEu7zWtlrPol3DPW5x1PN9l8O3dPquIR0Z3wD3H9U2AbCe2p/AVxa21Zuo4MoRsYc4VNGNQ== X-Received: by 2002:a05:6214:5906:b0:6c1:6b99:f00 with SMTP id 6a1803df08f44-6c16dc3c0c2mr201010856d6.17.1724838035294; Wed, 28 Aug 2024 02:40:35 -0700 (PDT) Received: from jason-thinkpadp1gen4i.rmtusma.csb (130-44-146-16.s12558.c3-0.arl-cbr1.sbo-arl.ma.cable.rcncustomer.com. [130.44.146.16]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6c162d641basm63971136d6.56.2024.08.28.02.40.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Aug 2024 02:40:34 -0700 (PDT) From: Jason Merrill <jason@redhat.com> To: gcc-patches@gcc.gnu.org Cc: libstdc++@gcc.gnu.org Subject: [pushed] libstdc++: avoid -Wzero-as-null-pointer-constant Date: Wed, 28 Aug 2024 05:40:16 -0400 Message-ID: <20240828094033.1684579-1-jason@redhat.com> X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII"; x-default=true X-Spam-Status: No, score=-12.2 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, 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~incoming=patchwork.ozlabs.org@gcc.gnu.org |
Series |
[pushed] libstdc++: avoid -Wzero-as-null-pointer-constant
|
expand
|
diff --git a/libstdc++-v3/include/std/coroutine b/libstdc++-v3/include/std/coroutine index 908c1178a14..ccd016b255e 100644 --- a/libstdc++-v3/include/std/coroutine +++ b/libstdc++-v3/include/std/coroutine @@ -99,7 +99,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION { public: // [coroutine.handle.con], construct/reset - constexpr coroutine_handle() noexcept : _M_fr_ptr(0) {} + constexpr coroutine_handle() noexcept : _M_fr_ptr(nullptr) {} constexpr coroutine_handle(std::nullptr_t __h) noexcept : _M_fr_ptr(__h)