Fix fallthrough of non-entered stmt expressions
commit73c22f831f335441714df9cc1ef88b627e991f6a
authorMichael Matz <matz@suse.de>
Fri, 1 Jul 2022 15:18:41 +0000 (1 17:18 +0200)
committerMichael Matz <matz@suse.de>
Fri, 1 Jul 2022 15:20:37 +0000 (1 17:20 +0200)
treed855028e136f9955425c34d2c7f099d747dbdab3
parentebb4e712362b6aea5cf7d4ec1ddc252a000c27a0
Fix fallthrough of non-entered stmt expressions

commit ec5d94291 made is to that the nocode_wanted state from
inside a statement expression is retained after it.  That is wrong
if the statement expression can't be entered to start with.  In the
latter case the state from before the stmt-expr is the one we need.
tccgen.c
tests/tests2/87_dead_code.c
tests/tests2/87_dead_code.expect