diff options
Diffstat (limited to 'gcc/hw-doloop.c')
-rw-r--r-- | gcc/hw-doloop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/hw-doloop.c b/gcc/hw-doloop.c index 2f54f4e1c0b..9b59f5ddc6d 100644 --- a/gcc/hw-doloop.c +++ b/gcc/hw-doloop.c @@ -365,7 +365,7 @@ discover_loops (bitmap_obstack *loop_stack, struct hw_doloop_hooks *hooks) rtx tail = BB_END (bb); rtx insn, reg; - while (tail && GET_CODE (tail) == NOTE && tail != BB_HEAD (bb)) + while (tail && NOTE_P (tail) && tail != BB_HEAD (bb)) tail = PREV_INSN (tail); if (tail == NULL_RTX) |