https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94188
--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
Just for the record, I also see it in acpica package:
$ cat cfg.i
enum act_name { ACT_HTTP_REQ_AUTH };
struct act_rule {
int list;
enum act_name action
} fn1() {
fn2(((struct act_rule *)((void *)fn2 - (void *)&((struct act_rule
*)0)->list))
->action);
}
