From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 18E323858D33; Mon, 20 May 2024 16:10:35 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 18E323858D33 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1716221435; bh=H1Z8e9yjsu347HQn0tSziSUn/nzd+5l9t4DOB18axKg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=D6Hgvwq2qCZz/GT1c4uArNRF6iGT5Pf/vmY3GjNEI9M0EnLc7zcwh7iWQLD+fBM2/ 6zmp8Cy3Fke/7MqAX+zlXeQJuy13rvsVvmMkgIqbi63M2mc50aNnjtEwJkPxvqLYj6 +3hpsmsi9Ud0pMTwrJv98Hx1YN3RR6MfAOVpPdjY= From: "accelerator0099 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/109283] Destructor of co_yield conditional argument called twice Date: Mon, 20 May 2024 16:10:34 +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: C++-coroutines, ice-on-valid-code, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: accelerator0099 at gmail dot com 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: 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=3D109283 accelerator0099 at gmail dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |accelerator0099 at gmail d= ot com --- Comment #5 from accelerator0099 at gmail dot com --- (In reply to Jonathan Wakely from comment #4) > (In reply to ncm from comment #3) > > Appears fixed in 13.1 >=20 > It's likely that it's not fixed, it's just that the release branches do n= ot > have as many consistency checks and assertions enabled as trunk does. >=20 > >=20 > > Still ICEs in trunk, > > Compiler-Explorer-Build-gcc-70d038235cc91ef1ea4fce519e628cfb2d297bff- > > binutils-2.40) 14.0.0 20230508 (experimental): > > : In function 'std::generator > > > source(int&, std::string)': > > :513:1: internal compiler error: in flatten_await_stmt, at > > cp/coroutines.cc:2899 > > 513 | } >=20 > Confirmed. Was that fixed in 14.1? I can compile with 14.1 and run with no error=