diff options
Diffstat (limited to 'gcc/postreload-gcse.c')
-rw-r--r-- | gcc/postreload-gcse.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/postreload-gcse.c b/gcc/postreload-gcse.c index 75ca2572176..5234fe959af 100644 --- a/gcc/postreload-gcse.c +++ b/gcc/postreload-gcse.c @@ -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. |