On Mon, 27 Nov 2023, Martin Uecker wrote: > + enum B : short { M = 1 } *y2e = &x2; /* { dg-warning "incompatible" > } */
This probably now needs to be dg-error because -Wincompatible-pointer-types is now an error by default. OK with that changed as needed (you may also need such a change in patch 1, so retest both patches against current master before applying). -- Joseph S. Myers jos...@codesourcery.com