This is odd, GCC documentation clearly states that jumping into statement expression is not permitted. It is properly identified as error when compiling as c file, but no errors are given when compiled as c++ file.
https://gcc.gnu.org/onlinedocs/gcc/Statement-Exprs.html