diff options
author | Brad Kaiser <bkaiser@acelink.net> | 2001-11-21 00:04:47 +0000 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2001-11-20 16:04:47 -0800 |
commit | 92a2114171f4ab907f94f3629f1412579a8d8584 (patch) | |
tree | 254f95bb18f5024720a10541c4c4bacfe2730a8f /gcc/reload1.c | |
parent | da6ccf8361f36e7111cdf92dbc6afb637b3adf2c (diff) | |
download | gcc-92a2114171f4ab907f94f3629f1412579a8d8584.zip gcc-92a2114171f4ab907f94f3629f1412579a8d8584.tar.gz gcc-92a2114171f4ab907f94f3629f1412579a8d8584.tar.bz2 |
reload1.c (elimination_effects): Use function_invariant_p instead of CONSTANT_P when...
* reload1.c (elimination_effects): Use function_invariant_p
instead of CONSTANT_P when considering register equivalences.
From-SVN: r47226
Diffstat (limited to 'gcc/reload1.c')
-rw-r--r-- | gcc/reload1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/reload1.c b/gcc/reload1.c index c66b1a3..1f20a48 100644 --- a/gcc/reload1.c +++ b/gcc/reload1.c @@ -2699,7 +2699,7 @@ elimination_effects (x, mem_mode) } else if (reg_renumber[regno] < 0 && reg_equiv_constant && reg_equiv_constant[regno] - && ! CONSTANT_P (reg_equiv_constant[regno])) + && ! function_invariant_p (reg_equiv_constant[regno])) elimination_effects (reg_equiv_constant[regno], mem_mode); return; |