From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 5455D393D7B0; Thu, 8 Dec 2022 20:32:16 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5455D393D7B0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1670531536; bh=1PWvgDqiSSn2ZQUPU1KjUmiMoLsvdSqq36tuXHZ0I7A=; h=From:To:Subject:Date:In-Reply-To:References:From; b=JgXtT7fj3XL8wfLLb7LTXnpFZgJdxTXcAD0uwCp0tDnYDLmRdjqr2vIeEjGunJxTz qlJAHL6MI6s3weNUBzO89eH5Fy6IRM0GV8Zm/1j10R1d2voBsW69O+eI00pX/CrXYT UmcdywjKnIrWS2Psh0/SBGCM1mQ+aPI7DHuClu6E= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/107768] Bogus -Wzero-as-null-pointer-constant in coroutine Date: Thu, 08 Dec 2022 20:32:15 +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: 13.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED 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: attachments.created 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=3D107768 --- Comment #1 from Andrew Pinski --- Created attachment 54050 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D54050&action=3Dedit Reduced testcase This reduces the testcase to the bare min to reproduce the wrong warning.=