https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89265
Bug ID: 89265
Summary: Incorrect bitfield type in -Wconversion warnings
Product: gcc
Version: 7.4.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: pskocik at gmail dot com
Target Milestone: ---
void f() { struct{ unsigned x:1; }x = { (unsigned){0} }; }
warns about a conversion to `unsigned char:1`. It should say `unsigned int:1`.
