https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46921
Dave Pagan <dave.pagan at oracle dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Dropped side effect with |Lost side effect when |combination of statement |struct initializer |expression and struct |expression uses comma |initializer |operator --- Comment #3 from Dave Pagan <dave.pagan at oracle dot com> --- When emitting initializer elements (output_init_element), the left hand expression of a comma operator with result size zero is not evaluated. It should be, however, if the expression is marked as having side effects.