https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102508
--- Comment #2 from Iain Sandoe <iains at gcc dot gnu.org> --- thanks for the simplified test case. As noted in pr98935, statement expressions are not handled (I deferred handling them in the initial implementation since they are an extension)... however, it is intended to support them when possible.