https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78270
--- Comment #1 from David Binderman <dcb314 at hotmail dot com> --- Reduced code typedef struct { } bdaddr_t; struct mgmt_cp_read_local_oob_ext_data { __u8 type } fn1() { struct mgmt_cp_read_local_oob_ext_data *cp; switch (cp->type) &(bdaddr_t) {}