From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 014CC3858C78; Wed, 19 Jul 2023 22:22:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 014CC3858C78 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1689805349; bh=xNcvvPM3rPyBFRai3IM4pF2v/6NiNamoTEyNDd8DBkM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=iJkW73w+4ieNvhNFjBJwfVTGxuPwF4g+jI2r/jhAv//58FsIxhtPGUdnhVX3ritcs TE8MoZsYMleP/8SuIzZ4fhLJ5+4lftGZUoKAtLsSZwAMMEgUUGJrKVjmMaC+Oipp/j x6OYbrOHjERvVz63AUoEKGY80jhz9joyCtMUVHUM= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/110745] Improve printing of base classes Date: Wed, 19 Jul 2023 22:22:28 +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: 14.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek 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=3D110745 --- Comment #1 from CVS Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:e92ca8d3b4cab96a9f79466b5158381cb3103f9d commit r14-2659-ge92ca8d3b4cab96a9f79466b5158381cb3103f9d Author: Marek Polacek Date: Wed Jul 19 16:50:00 2023 -0400 c++: Improve printing of base classes [PR110745] This patch changes warning: missing initializer for member 'D::' [-Wmissing-field-initializers] to warning: missing initializer for member 'D::B' [-Wmissing-field-initializers] PR c++/110745 gcc/cp/ChangeLog: * error.cc (dump_simple_decl): Print base class name. gcc/testsuite/ChangeLog: * g++.dg/diagnostic/base.C: New test.=