aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2012-12-15 10:25:15 +0000
committerAlexandre Oliva <aoliva@gcc.gnu.org>2012-12-15 10:25:15 +0000
commite88ebf869e234bca2535b43fd80ab744e65a3560 (patch)
tree020f9b5c8e9194f2a72826f846f18ab34c661b39 /gcc/tree.h
parent5a6fe81088b9a7e5242897892239b745d9273cf9 (diff)
downloadgcc-e88ebf869e234bca2535b43fd80ab744e65a3560.zip
gcc-e88ebf869e234bca2535b43fd80ab744e65a3560.tar.gz
gcc-e88ebf869e234bca2535b43fd80ab744e65a3560.tar.bz2
re PR libmudflap/53952 (FAIL: libmudflap.c++/pass55-frag.cxx ( -O[123]) execution test)
PR libmudflap/53952 * expr.c (mem_ref_refers_to_non_mem_p): Factor out implementation into... (addr_expr_of_non_mem_decl_p_1): ... this new function. (addr_expr_of_non_mem_decl_p): New. * tree.h (addr_expr_of_non_mem_decl_p): Declare. * tree-mudflap.c (mf_xform_derefs_1): Don't change MEM_REFs and TARGET_MEM_REFs that have an ADDR_EXPR of a non-mem DECL as base operand. From-SVN: r194519
Diffstat (limited to 'gcc/tree.h')
-rw-r--r--gcc/tree.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/tree.h b/gcc/tree.h
index 9f17253..01e81b2 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -6304,6 +6304,9 @@ extern unsigned HOST_WIDE_INT compute_builtin_object_size (tree, int);
succeed. */
extern int can_move_by_pieces (unsigned HOST_WIDE_INT, unsigned int);
+/* Is it an ADDR_EXPR of a DECL that's not in memory? */
+extern bool addr_expr_of_non_mem_decl_p (tree);
+
extern unsigned HOST_WIDE_INT highest_pow2_factor (const_tree);
extern tree build_personality_function (const char *);