From aa90bb351d8d89fb3f90712b7222f74d5402ac57 Mon Sep 17 00:00:00 2001 From: steven Date: Sat, 23 Mar 2013 12:11:10 +0000 Subject: * config/avr/avr.c, config/bfin/bfin.c, config/c6x/c6x.c, config/epiphany/epiphany.c, config/frv/frv.c, config/ia64/ia64.c, config/iq2000/iq2000.c, config/mcore/mcore.c, config/mep/mep.c, config/mmix/mmix.c, config/pa/pa.c, config/rs6000/rs6000.c, config/s390/s390.c, config/sparc/sparc.c, config/spu/spu.c, config/stormy16/stormy16.c, config/v850/v850.c, config/xtensa/xtensa.c, dwarf2out.c, hw-doloop.c, resource.c, rtl.h : Where applicable, use the predicates NOTE_P, NONJUMP_INSN_P, JUMP_P, CALL_P, LABEL_P, and BARRIER_P instead of GET_CODE. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197005 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/hw-doloop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/hw-doloop.c') 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) -- cgit v1.2.1