flow.c simple patch

Eric Christopher echristo@redhat.com
Tue Jan 15 12:38:00 GMT 2002


Checked in. Approved by geoffk.

-eric

-- 
I will not use abbrev.

2002-01-15  Eric Christopher  <echristo@redhat.com>

	* flow.c (propagate_one_insn): Add error message and print out
	insn for debugging.

Index: flow.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/flow.c,v
retrieving revision 1.499
diff -u -p -w -r1.499 flow.c
--- flow.c	2001/12/28 18:17:53	1.499
+++ flow.c	2002/01/15 20:19:49
@@ -1566,7 +1566,11 @@ propagate_one_insn (pbi, insn)
 	      || (HAVE_sibcall_epilogue
 		  && sibcall_epilogue_contains (insn)))
 	  && find_reg_note (insn, REG_MAYBE_DEAD, NULL_RTX) == 0)
+	{
+	  internal_error ("Attempt to delete prologue/epilogue insn:\n");
+          debug_rtx (insn);
 	abort ();
+	}
 
       /* Record sets.  Do this even for dead instructions, since they
 	 would have killed the values if they hadn't been deleted.  */



More information about the Gcc-patches mailing list