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]

Fix m32r_is_insn


Hi Guys,

  I am applying the patch below to fix the m32r_is_insn function in
  the M32R backend so that it will ignore debugging insns.

Cheers
  Nick

gcc/ChangeLog
2009-09-28  Nick Clifton  <nickc@redhat.com>

	* config/m32r/m32r.c (m32r_is_insn): Return false for debugging
	insns.

Index: gcc/config/m32r/m32r.c
===================================================================
--- gcc/config/m32r/m32r.c	(revision 152230)
+++ gcc/config/m32r/m32r.c	(working copy)
@@ -1211,7 +1211,7 @@
 static int
 m32r_is_insn (rtx insn)
 {
-  return (INSN_P (insn)
+  return (NONDEBUG_INSN_P (insn)
 	  && GET_CODE (PATTERN (insn)) != USE
 	  && GET_CODE (PATTERN (insn)) != CLOBBER
 	  && GET_CODE (PATTERN (insn)) != ADDR_VEC);


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