From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 99FDA3858D35; Wed, 28 Jun 2023 12:47:37 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 99FDA3858D35 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1687956457; bh=5dYugkdqClO9rQl4N50F6EBWW+gcVrmq36FZ4diSkyE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ghu48BvIuMdMCY7w1SJXa6+wLEYcgeqHWP4feZyBefAM5hgVz5rMwVVXbBuVLM2o4 B2RongZ0/ad9mRlQFRw8uM6Gwrwt4fexbDaYUa39Zu/KcO4sGpa/1KMfzt4SIxTnhK oEV8hg4HDNRvJ9mgxUhn31315eG4SEaKUcVQjS0A= From: "gasper.azman at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/110441] c++17: temporary causes static member function call to confuse required copy elision Date: Wed, 28 Jun 2023 12:47:37 +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: 14.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: gasper.azman at gmail dot com 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: cc 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=3D110441 Ga=C5=A1per A=C5=BEman changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gasper.azman at gmail dot = com --- Comment #1 from Ga=C5=A1per A=C5=BEman = --- I hit this in gcc 10 as well when implementing sender/receiver. Was not abl= e to reduce it this nicely, so I didn't report. Nice work, Eric.=