diff options
Diffstat (limited to 'gcc/targhooks.c')
-rw-r--r-- | gcc/targhooks.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/targhooks.c b/gcc/targhooks.c index 61ca0057ba5..85436ac7393 100644 --- a/gcc/targhooks.c +++ b/gcc/targhooks.c @@ -474,7 +474,7 @@ default_invalid_within_doloop (const_rtx insn) if (CALL_P (insn)) return "Function call in loop."; - if (JUMP_TABLE_DATA_P (insn)) + if (tablejump_p (insn, NULL, NULL) || computed_jump_p (insn)) return "Computed branch in the loop."; return NULL; |