https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84952
--- Comment #8 from Tom de Vries <vries at gcc dot gnu.org> --- (In reply to Tom de Vries from comment #5) > For stage4, however, we want a fix without fixing optimization issue > PR84025 > ... > @ %r34 bra.uni $L8; > @ %r33 bra $L9; > // join 2; > $L9: > $L8: > ... Now I realize that prevent_branch_around_nothing is not triggering here, while it should. Filed PR84954 - "[nvptx] prevent_branch_around_nothing doesn't trigger often enough"