dce: Don't force unreachable case label to be live
commitc3e3a07ed413a6cb8c1a2b033eb2df07941fead7
authorMichael Matz <matz@suse.de>
Tue, 12 Jul 2022 15:07:33 +0000 (12 17:07 +0200)
committerMichael Matz <matz@suse.de>
Tue, 16 Aug 2022 13:59:41 +0000 (16 15:59 +0200)
treed8572b06fcf745e800e2581cd01e9b6175858856
parent0c36b3ff2dc6661fa799399b9e93ceaf1fc53a6e
dce: Don't force unreachable case label to be live

if a switch is unreachable then so are the case labels.
Unlike normal labels they can't possibly be reached from not-yet
parsed code, so there's no reason to enable codegen again for those.
tccgen.c
tests/tcctest.c