From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 289003861C56; Mon, 16 Mar 2020 08:47:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 289003861C56 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1584348423; bh=+gSsccGYcEqEiuwKybYOpOHAUWa3y5y+MKNo5qSzwSs=; h=From:To:Subject:Date:From; b=uEBqd4HEB1aSEt2p94P1kSn3Pn1XGyNx4vOCdliiPlTSroiq5DVvJ5BUi7zPIn20t CxdQ58Re14sZ9wQN7U+fIqYdbFC8mm2MkJ1Ow0UxiAhdirjEiSD6W9GNUCZSg2xydM rjx7txddaM66+zmBZlHpoO+HtCATTo1TeNMAtdqo= From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBjLzk0MTg4XSBOZXc6IFsxMCBSZWdyZXNzaW9uXSBlcnJv?= =?UTF-8?B?cjogcmVxdWVzdCBmb3IgbWVtYmVyIOKAmG5vZGXigJkgaW4gc29tZXRoaW5n?= =?UTF-8?B?IG5vdCBhIHN0cnVjdHVyZSBvciB1bmlvbiBzaW5jZSByMTAtNzEyNy1nY2I5?= =?UTF-8?B?OTYzMGYyNTRhYWVjNg==?= Date: Mon, 16 Mar 2020 08:47:02 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED 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: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone Message-ID: 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Mar 2020 08:47:03 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D94188 Bug ID: 94188 Summary: [10 Regression] error: request for member =E2=80=98node= =E2=80=99 in something not a structure or union since r10-7127-gcb99630f254aaec6 Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords: rejects-valid Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: marxin at gcc dot gnu.org Target Milestone: --- Reduced from lvm2: $ cat libdm.i struct dm_tree_link { int list; int node; } fn1() { 0 ? ((struct dm_tree_link *)((char *)fn1 - (char *)&((struct dm_tree_link *)0)->list)) ->node : 0; } $ gcc-9 libdm.i -c $ gcc libdm.i -c libdm.i: In function =E2=80=98fn1=E2=80=99: libdm.i:7:11: error: request for member =E2=80=98node=E2=80=99 in something= not a structure or union 7 | ->node | ^~=