This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] ip2k.c: Use INSN_P instead of its definition.


Hi,

I missed this one in my earlier patch.  Committed as obvious.

Kazu Hirata

2003-06-28  Kazu Hirata  <kazu@cs.umass.edu>

	* config/ip2k/ip2k.c (ip2k_reorg): Use INSN_P instead of its
	definition.

Index: ip2k.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/ip2k/ip2k.c,v
retrieving revision 1.22
diff -u -r1.22 ip2k.c
--- ip2k.c	16 Jun 2003 02:18:34 -0000	1.22
+++ ip2k.c	29 Jun 2003 02:12:07 -0000
@@ -5359,7 +5359,7 @@
 	  || GET_CODE (insn) == BARRIER)
 	continue;
 
-      if (GET_RTX_CLASS (GET_CODE (insn)) != 'i')
+      if (!INSN_P (insn))
 	continue;
 
       body = PATTERN (insn);


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]