diff options
author | geoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-06-04 07:11:05 +0000 |
---|---|---|
committer | geoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-06-04 07:11:05 +0000 |
commit | 1f3233d13f58417984cb2239d328b65e8d172744 (patch) | |
tree | 720630adca0f6b357e05c4feb8cbe33d556925ce /gcc/gcse.c | |
parent | 0dc11899d8781bca1da5f4421327d61890424808 (diff) | |
download | gcc-1f3233d13f58417984cb2239d328b65e8d172744.tar.gz |
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
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" |