https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86584
oliver at futaura dot co.uk changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |oliver at futaura dot co.uk --- Comment #1 from oliver at futaura dot co.uk --- Confirmed here. Still happens with gcc (adtools build 11.2.0) 11.2.0: test.c: In function 'main': test.c:13:24: warning: operation on 's.f' may be undefined [-Wsequence-point] 13 | func(&s.f, s.f = 1); | ~~~~^~~ It really doesn't make much sense for gcc to think this a problem. Going to have to disable the warning here as I can't seem to figure a way around it with unnecessarily rewriting huge chunks of code.