On 01/14/14 03:37, Richard Sandiford wrote:
While experimenting with a patch to use conditional returns, I hit a case
where a conditional jump between hot and cold sections was being converted
into a conditional return. The new jump still had the REG_CROSSING_JUMP
and later passes were confused by the combination of that and a return
JUMP_LABEL.
The jump is now returning directly from the current section rather than
crossing sections within the function, so I think we should just drop
the note.
Tested on s390x-linux-gnu with some local patches. OK to install?
Thanks,
Richard
gcc/
* jump.c (redirect_jump_2): Remove REG_CROSSING_JUMP notes when
converting a conditional jump into a conditional return.
OK.
jeff