From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 8D7E33857C43; Thu, 10 Nov 2022 21:45:30 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8D7E33857C43 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1668116730; bh=OdG/foc+XEroDhTLpQq3cJ0hYXkzmYWeaW0O2GdTinM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=fCYcMcaXdMBZ64hwqxVIhiRQi25ePZqMsvswg+nqMec0AmTZ2umKRRMoIVckQ3/4T KI+KqjYa8SsZ9q8bQPQ6JBFqAyhOpw1aX24slyEJy5jCEe+IzhCYn8qzN1jVG+5hi9 wg4GwlE4A15ynLa6mpjx1d/+xUHnBWesv8QLlkfw= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/107624] [c++23] Wrong code with static operator () Date: Thu, 10 Nov 2022 21:45:30 +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: 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: 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=3D107624 --- Comment #1 from Andrew Pinski --- This is interesting because clang also does not produce a call for the foo either for "foo (0) (0);".=