From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0D9153858C60; Sat, 29 Apr 2023 17:28:37 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0D9153858C60 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1682789317; bh=p7lvlgazq1cW1GD4hK1+0CJJoGgFMYFYWQ8hgvecJ3k=; h=From:To:Subject:Date:In-Reply-To:References:From; b=O0aoPmeoJp8fG0OFhHFNPseeYI2d0ebWm/V9RJcca3ocUh0m2EYhmBQmx9WVilJeF lzC5GRc2PLP2RwImYUuO3Zp67+XOttnzKDHMbpFID1YyoOsqh8K3y9g2AxaAWg3NI0 oGnGKNyD6fg28xwBJetMqdk2BM+sEwsb1lIY2TaQ= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/109680] Regression where `int() const` is considered convertible to `int(*)()`. Date: Sat, 29 Apr 2023 17:28:36 +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.1.0 X-Bugzilla-Keywords: accepts-invalid, wrong-code 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=3D109680 --- Comment #1 from Andrew Pinski --- Created attachment 54957 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D54957&action=3Dedit Full testcase including the include=