From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 8B4513855169; Mon, 28 Nov 2022 19:13:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8B4513855169 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1669662833; bh=g3NV5DkeqKZUKhPZqJh4mLW93huRENbKaUdhxyIatTc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=sZ/zvKqtJQswnQdu0RKN8mmeL+0BnoFck8Wy5lRGswgaWL14B8vMew7ng7/DAaIAT KwoiS3LTGMqS43mG/cQieLM35SHEkF4nkwOf2M/hcOgZ+CTQnLMa9mpkHMc0gzCSL6 zxeNwgrqTWKBQnK2ApyMWU82ZK5s0BN5iMoOaJs4= From: "adrian.perl at web dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/99576] [coroutines] destructor of a temporary called too early within co_await expression Date: Mon, 28 Nov 2022 19:13:49 +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: 10.2.1 X-Bugzilla-Keywords: C++-coroutines, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: adrian.perl at web dot de X-Bugzilla-Status: NEW 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=3D99576 --- Comment #12 from Adrian Perl --- I have sent the patch and tests to gcc-patches@gcc.gnu.org Thanks for the guidance=