diff options
author | J"orn Rennecke <joern.rennecke@st.com> | 2005-06-01 11:38:53 +0000 |
---|---|---|
committer | Joern Rennecke <amylaar@gcc.gnu.org> | 2005-06-01 12:38:53 +0100 |
commit | 5fffc382a653d195d175a0e03f0262fb07962a3e (patch) | |
tree | 9aa79da08f8f0253c34a6a51b34ed733dc7fbacf /gcc/reload1.c | |
parent | 8e0a600bdd9dee1b4eb8f3e5ce840e76fdabf133 (diff) | |
download | gcc-5fffc382a653d195d175a0e03f0262fb07962a3e.zip gcc-5fffc382a653d195d175a0e03f0262fb07962a3e.tar.gz gcc-5fffc382a653d195d175a0e03f0262fb07962a3e.tar.bz2 |
re PR rtl-optimization/21767 (if-convert leaves invalid REG_EQUAL notes)
PR rtl-optimization/21767
* rtl.h (function_invariant_p): Re-add declaration.
* reload1.c (function_invariant_p): No longer static.
* ifcvt.c (dead_or_predicable): Remove REG_EQUAL notes that
might have become invalid.
From-SVN: r100448
Diffstat (limited to 'gcc/reload1.c')
-rw-r--r-- | gcc/reload1.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/reload1.c b/gcc/reload1.c index 6158af5..0caa411 100644 --- a/gcc/reload1.c +++ b/gcc/reload1.c @@ -405,7 +405,6 @@ static int reload_reg_free_for_value_p (int, int, int, enum reload_type, rtx, rtx, int, int); static int free_for_value_p (int, enum machine_mode, int, enum reload_type, rtx, rtx, int, int); -static int function_invariant_p (rtx); static int reload_reg_reaches_end_p (unsigned int, int, enum reload_type); static int allocate_reload_reg (struct insn_chain *, int, int); static int conflicts_with_override (rtx); @@ -4984,7 +4983,7 @@ free_for_value_p (int regno, enum machine_mode mode, int opnum, pic_offset_table_rtx is not, and we must not spill these things to memory. */ -static int +int function_invariant_p (rtx x) { if (CONSTANT_P (x)) |