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]

Re: Yet another non-call-exceptions handling fix


 > Thu Mar  7 15:24:11 CET 2002  Jan Hubicka  <jh@suse.cz>
 > 
 > 	* gcse.c (insert_insn_end_bb): Handle trapping insns.
 > 
 > +       /* It should always be the case that we can put these instructions
 > + 	 anywhere in the basic block with performing PRE optimizations.
 > + 	 Check this.  */
 > +       if (GET_CODE (insn) == insn && pre


I'm pretty sure the above hunk is wrong.  Did you mean this instead?


2002-03-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

	* gcse.c (insert_insn_end_bb): Fix typo in last change.
	
--- egcc-CVS20020307/gcc/gcse.c~	Thu Mar  7 16:30:21 2002
+++ egcc-CVS20020307/gcc/gcse.c	Thu Mar  7 23:10:28 2002
@@ -4626,7 +4626,7 @@ insert_insn_end_bb (expr, bb, pre)
       /* It should always be the case that we can put these instructions
 	 anywhere in the basic block with performing PRE optimizations.
 	 Check this.  */
-      if (GET_CODE (insn) == insn && pre
+      if (GET_CODE (insn) == INSN && pre
 	  && !TEST_BIT (antloc[bb->index], expr->bitmap_index)
           && !TEST_BIT (transp[bb->index], expr->bitmap_index))
 	abort ();


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