[Bug c/94188] [10 Regression] error: request for member ‘node’ in something not a structure or union since r10-7127-gcb99630f254aaec6
marxin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Mar 16 10:22:52 GMT 2020
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);
}
More information about the Gcc-bugs
mailing list