This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Yet another non-call-exceptions handling fix
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- To: jh at suse dot cz
- Cc: gcc-patches at gcc dot gnu dot org, rth at redhat dot com
- Date: Thu, 7 Mar 2002 23:20:20 -0500 (EST)
- Subject: 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 ();