From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C2E7D385841F; Mon, 14 Aug 2023 12:25:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C2E7D385841F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1692015953; bh=LrsH/ym4dyWUw74DOMIgHmaIfQ5vuz9U3F5qIOPWyog=; h=From:To:Subject:Date:In-Reply-To:References:From; b=WowEia0tr7wnoNhzPr+c182TKygcYEOCw/7V6U8tFv5D/TSzfLozZQ4yhNBa7TKAW Xw88B2808EnXuAxQz3FNsSXAMpggEr2HMbVZmcVLidvCVw4bwAevjXQXDtp5ZkUEdx op3S/Y5efh/I6R5zR82295CTZLHnYzn4d41h0BTo= From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug build/22395] ODR violations Date: Mon, 14 Aug 2023 12:25:52 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: build X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot 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://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D22395 --- Comment #15 from Tom de Vries --- (In reply to Tom Tromey from comment #13) > I looked into this a bit, but fixing the YYSTYPE one is > a real pain unless perhaps we are willing to require bison > so that we can use a bison-specific feature. >=20 > The usual remapping approach doesn't work because > the generated .c file checks: >=20 > #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED > union YYSTYPE > { > ... >=20 > I guess maybe we could write out the union by hand but > that seems pretty ugly. I've proposed a patch for this ( https://sourceware.org/pipermail/gdb-patches/2023-August/201600.html ). --=20 You are receiving this mail because: You are on the CC list for the bug.=