OSDN Git Service

* gcc.dg/20020201-1.c: Use cleanup-coverage_files.
[pf3gnuchains/gcc-fork.git] / gcc / postreload-gcse.c
index 75ca257..5234fe9 100644 (file)
@@ -43,6 +43,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 #include "obstack.h"
 #include "hashtab.h"
 #include "params.h"
+#include "target.h"
 
 /* The following code implements gcse after reload, the purpose of this
    pass is to cleanup redundant loads generated by reload and other
@@ -1283,6 +1284,10 @@ delete_redundant_insns (void)
 void
 gcse_after_reload_main (rtx f ATTRIBUTE_UNUSED)
 {
+
+  if (targetm.cannot_modify_jumps_p ())
+    return;
+
   memset (&stats, 0, sizeof (stats));
 
   /* Allocate ememory for this pass.