https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126319
--- Comment #1 from Jonathan Poelen <jonathan.poelen at gmail dot com> ---
Come to think of it, I believe the diagnosis for uninitialized members of a
base class is also incorrect. It should explicitly refer to the members in
question rather than the base class.
struct BBase
{
int x;
};
struct B : BBase
{
int a = 0;
int b;
};
int main()
{
(void)B{.b=1}; // missing initializer for member 'B::BBase'
// should be B::BBase::x or
}
