From e2500fedef1a1c5b9e818fd1e2c281adff80df4a Mon Sep 17 00:00:00 2001 From: Geoffrey Keating Date: Tue, 4 Jun 2002 07:11:05 +0000 Subject: Merge from pch-branch up to tag pch-commit-20020603. From-SVN: r54232 --- gcc/gcse.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gcc/gcse.c') diff --git a/gcc/gcse.c b/gcc/gcse.c index e9c35a6..fa20e96 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" -- cgit v1.1