From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C76A33858C66; Tue, 7 Mar 2023 12:53:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C76A33858C66 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1678193584; bh=vlXI2AMiyRqHfw6F+8fBp8L+z8OHmVdo0qgDpNGdo98=; h=From:To:Subject:Date:In-Reply-To:References:From; b=MDF+gGQMAG9YsBK89lEAq9V1S0Af6K5MR4FO2S68DFY3OCVWs1cAhZjYCD9iJ/vGw qEBInMxOuGMbpt0gke+n8XRzMCJgfR64pUUxE/FLyAn5cn82Mn4wzlAv+ylVY26+7K 0TwZXuhpre3rd7Po84FhdtJCcZCp89tdUjaU3b1k= 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 12:53:03 +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 #13 from Jan Hubicka --- > So .. for promotion of target expression temporaries to frame vars, one o= f: > - 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? Honza=