aboutsummaryrefslogtreecommitdiff
path: root/gcc/emit-rtl.h
diff options
context:
space:
mode:
authorvries <vries@138bc75d-0d04-0410-961f-82ee72b054a4>2014-08-14 16:13:59 +0000
committervries <vries@138bc75d-0d04-0410-961f-82ee72b054a4>2014-08-14 16:13:59 +0000
commitf07f65264f1896fcac87c5890c61859c143f7d3c (patch)
treef42d2015dd1fca0bc416d04f437ea88b5e3608bd /gcc/emit-rtl.h
parentc49ee0f56805449db557a7d265eddd60e73b87ab (diff)
Fix if-conversion pass for dead type-unsafe code
2014-08-14 Tom de Vries <tom@codesourcery.com> PR rtl-optimization/62004 PR rtl-optimization/62030 * ifcvt.c (rtx_interchangeable_p): New function. (noce_try_move, noce_process_if_block): Use rtx_interchangeable_p. * emit-rtl.c (mem_attrs_eq_p): Remove static. * emit-rtl.h (mem_attrs_eq_p): Declare. * gcc.dg/pr62004.c: New test. * gcc.dg/pr62030.c: Same. * gcc.target/mips/pr62030-octeon.c: Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@213970 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/emit-rtl.h')
-rw-r--r--gcc/emit-rtl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/emit-rtl.h b/gcc/emit-rtl.h
index 8439750416b..bae6e696fd3 100644
--- a/gcc/emit-rtl.h
+++ b/gcc/emit-rtl.h
@@ -72,6 +72,7 @@ extern void set_reg_attrs_for_parm (rtx, rtx);
extern void set_reg_attrs_for_decl_rtl (tree t, rtx x);
extern void adjust_reg_mode (rtx, enum machine_mode);
extern int mem_expr_equal_p (const_tree, const_tree);
+extern bool mem_attrs_eq_p (const struct mem_attrs *, const struct mem_attrs *);
extern bool need_atomic_barrier_p (enum memmodel, bool);