From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id EC6CE38515C1; Tue, 7 Mar 2023 16:18:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EC6CE38515C1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1678205906; bh=oV6iLuI+wLNyPKmgXIBVFXgYNyu4zIIw3Yjb3CmVExI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=RHnf+oTDsaxITe0fRtc4v12HRpbiaxZo+Q3JGLpnbYSmQ6urML/n3gAbZ5faVzaz3 NGlJ3ZMgWSRDiupcsOpIMD6VZfqVQ91K6r+do4xPaRJaKHMOs1ZJEN7td/1wIq99di D1mOIFnNqm+uH2JMdGlEple6U6o90/3rH12xqWeE= From: "hubicka at ucw dot cz" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/101118] coroutines: unexpected ODR warning for coroutine frame type in LTO builds Date: Tue, 07 Mar 2023 16:18:26 +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: 11.1.0 X-Bugzilla-Keywords: C++-coroutines, diagnostic, lto X-Bugzilla-Severity: normal X-Bugzilla-Who: hubicka at ucw dot cz 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=3D101118 --- Comment #15 from Jan Hubicka --- > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D101118 >=20 > --- Comment #14 from Iain Sandoe --- > (In reply to Jan Hubicka from comment #13) > > > So .. for promotion of target expression temporaries to frame vars, o= ne of: > > > - a) we need to find a different way to name them > > I think we can just count number of fields within a given frame type? >=20 > yeah I made a hack that did this (and resolves this PR) but I'd think we = can > find something neater, I'd like to c++-ify the sources some more, and cre= ate a > class to manage the frame... ( maybe for GCC14 now ). Thanks! Since this is really part of the ABI, I wonder why it is not covered by the IA-64 C++ ABI? Was it ever updated for coroutines? Honza=