Re: [PATCH] testsuite: analyzer: expect alignment warning with -fshort-enums

2023-11-20 Thread David Malcolm
On Sun, 2023-11-19 at 08:13 -0700, Jeff Law wrote: > > > On 11/19/23 00:36, Alexandre Oliva wrote: > > > > On targets that have -fshort-enums enabled by default, the type > > casts > > in the pr108251 analyzer tests warn that the byte-aligned enums may > > not be sufficiently aligned to be a str

Re: [PATCH] testsuite: analyzer: expect alignment warning with -fshort-enums

2023-11-19 Thread Jeff Law
On 11/19/23 00:36, Alexandre Oliva wrote: On targets that have -fshort-enums enabled by default, the type casts in the pr108251 analyzer tests warn that the byte-aligned enums may not be sufficiently aligned to be a struct connection *. The function can't know better, the warning is reasonab