We have to mark the required variables also in block 0. And we shouldn't generate empty blocks. Pick-to: 6.3 Fixes: QTBUG-101011 Change-Id: I0dd19f69f45f507cb83e2ddfba3060de48a940b4 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>