summaryrefslogtreecommitdiff
path: root/gcc/rtl.h
diff options
context:
space:
mode:
authorsayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>2003-09-12 15:07:50 +0000
committersayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>2003-09-12 15:07:50 +0000
commit01c05d27f566eac1d3e1158780ba23535ef0fe06 (patch)
treeb74dbfb654b2ba729bd9d180dd9845f8532b8c0e /gcc/rtl.h
parentd13344c88bab38138008d750ffd2ba1d41c2fe7f (diff)
downloadgcc-01c05d27f566eac1d3e1158780ba23535ef0fe06.tar.gz
PR optimization/8967
* alias.c (write_dependence_p): Modify to take an additional constp argument that controls whether the UNCHANGING_RTX_P flags are used. (anti_dependence, output_dependence): Adjust write_dependence_p callers to pass this additional argument, to return the same result. (unchanging_anti_dependence): New variant of anti_dependence that ignores the UNCHANGING_RTX_P property on memory references. * rtl.h (unchaning_anti_dependence): Prototype here. * flow.c (init_propagate_block): Place fake constant mem writes on the mem_set_list so that dead writes to const variables are deleted. (insn_dead_p): Change anti_dependence to unchanging_anti_dependence. (mark_used_regs): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71332 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r--gcc/rtl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/rtl.h b/gcc/rtl.h
index b7db32adeed..fb1922a3b9d 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -2253,6 +2253,7 @@ extern int canon_true_dependence (rtx, enum machine_mode, rtx, rtx,
extern int read_dependence (rtx, rtx);
extern int anti_dependence (rtx, rtx);
extern int output_dependence (rtx, rtx);
+extern int unchanging_anti_dependence (rtx, rtx);
extern void mark_constant_function (void);
extern void init_alias_once (void);
extern void init_alias_analysis (void);