diff options
Diffstat (limited to 'gcc/gcse.c')
-rw-r--r-- | gcc/gcse.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/gcse.c b/gcc/gcse.c index e9c35a665e8..fa20e96a395 100644 --- a/gcc/gcse.c +++ b/gcc/gcse.c @@ -1305,11 +1305,11 @@ static basic_block current_bb; /* See whether X, the source of a set, is something we want to consider for GCSE. */ +static GTY(()) rtx test_insn; static int want_to_gcse_p (x) rtx x; { - static rtx test_insn = 0; int num_clobbers = 0; int icode; @@ -1343,7 +1343,6 @@ want_to_gcse_p (x) FIRST_PSEUDO_REGISTER * 2), const0_rtx)); NEXT_INSN (test_insn) = PREV_INSN (test_insn) = 0; - ggc_add_rtx_root (&test_insn, 1); } /* Now make an insn like the one we would make when GCSE'ing and see if @@ -7206,3 +7205,5 @@ store_motion () remove_fake_edges (); end_alias_analysis (); } + +#include "gt-gcse.h" |