From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 2878A3858D38; Mon, 11 Sep 2023 21:25:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2878A3858D38 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1694467523; bh=Rby9W8J1K0cJYJZITmWCVJxXbgefSLHub9Oyjz7stSk=; h=From:To:Subject:Date:In-Reply-To:References:From; b=SYFvkOpkmX8HZUVuK85k9uXjPzWyGfS4FrRyR7aYUuLz83LumPVC1zSeAgTC+FXLb Mp5pMUenqo9u7VbN+zrQeAD6TFhnQhqZ3EGrWsAJoQ+PS6dV/DJJK24QZCvJNWEqpS 43cudHHV4mzRJzEWaoAIC94BWBG6K3bnjPm+4Anw= From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug build/30839] ODR warnings in ada-exp.c.tmp/c-exp.c.tmp Date: Mon, 11 Sep 2023 21:25:23 +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=3D30839 --- Comment #4 from Tom de Vries --- Cool. Then(In reply to Sam James from comment #3) > (In reply to Tom de Vries from comment #2) > > Does adding a GDB_YY_REMAP line in gdb/yy-remap.h fix it? >=20 > Yeah, it does (this is with byacc, btw). >=20 Nice, thanks. I guess you could commit as obvious. > ``` > diff --git a/gdb/yy-remap.h b/gdb/yy-remap.h > index 33bee0fabdb..d0125b9ed45 100644 > --- a/gdb/yy-remap.h > +++ b/gdb/yy-remap.h > @@ -85,6 +85,7 @@ > #define yystacksize GDB_YY_REMAP (yystacksize) > #define yyvs GDB_YY_REMAP (yyvs) > #define yyvsp GDB_YY_REMAP (yyvsp) > +#define YYSTACKDATA GDB_YY_REMAP (YYSTACKDATA) >=20 > /* The following are common to all parsers. */ >=20 > ``` > seems to work? --=20 You are receiving this mail because: You are on the CC list for the bug.=