From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id CAAEF39484A4; Wed, 22 Apr 2020 16:56:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CAAEF39484A4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1587574566; bh=VZDYPcFs2rB9PYIRK+veC3dTAMYzWFnF+uP4xf7TXBg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=wVPv6qwUsJDQ1eQj/7lxISS4mGAXvLOmBZHh2nQiL26QIg8I7qjLrlBtMOR62R2tx yAHNPMe16paP+vr97lwKGVO1ctrLgToxH6ar22jsb7enV9PMEDIkChZeddy2cYe5Zx /Krhpr/gGwvihbpKVvxg2VCo1Tqq+XQhaZlevcqQ= From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/94707] [8/9/10 Regression] class with empty base passed incorrectly with -std=c++17 on powerpc64le Date: Wed, 22 Apr 2020 16:56:06 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ABI, wrong-code X-Bugzilla-Severity: blocker X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 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 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: Wed, 22 Apr 2020 16:56:06 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D94707 --- Comment #10 from Jonathan Wakely --- (In reply to Bill Schmidt from comment #8) > If C++17 has added new hidden fields It hasn't. What changed is how G++ represents such types. The code is the s= ame in C++14 and C++17, i.e. there's an empty base class present in the source code, not something introduced by the language. And there's no such thing a= s a "hidden field" in any version of the C++ standard. C++17 didn't introduce anything here.=