From 1f3233d13f58417984cb2239d328b65e8d172744 Mon Sep 17 00:00:00 2001 From: geoffk Date: Tue, 4 Jun 2002 07:11:05 +0000 Subject: Merge from pch-branch up to tag pch-commit-20020603. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54232 138bc75d-0d04-0410-961f-82ee72b054a4 --- 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 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" -- cgit v1.2.1