aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimple-expr.h
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2015-11-03 03:57:07 +0000
committerAlexandre Oliva <aoliva@gcc.gnu.org>2015-11-03 03:57:07 +0000
commit1b223a9f3489296c625bdb7cc764196d04fd9231 (patch)
tree1ca88d2602206178e1b174d26f9a22c25e3f13a8 /gcc/gimple-expr.h
parentec95cd47926915a7a50a5d94008b4fbfcd46eb46 (diff)
downloadgcc-1b223a9f3489296c625bdb7cc764196d04fd9231.zip
gcc-1b223a9f3489296c625bdb7cc764196d04fd9231.tar.gz
gcc-1b223a9f3489296c625bdb7cc764196d04fd9231.tar.bz2
defer mark_addressable calls during expand till the end of expand
for gcc/ChangeLog * gimple-expr.c: Include hash-set.h and rtl.h. (mark_addressable_queue): New var. (mark_addressable): Factor actual marking into... (mark_addressable_1): ... this. Queue it up during expand. (mark_addressable_2): New. (flush_mark_addressable_queue): New. * gimple-expr.h (flush_mark_addressable_queue): Declare. * cfgexpand.c: Include gimple-expr.h. (pass_expand::execute): Flush mark_addressable queue. From-SVN: r229696
Diffstat (limited to 'gcc/gimple-expr.h')
-rw-r--r--gcc/gimple-expr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/gimple-expr.h b/gcc/gimple-expr.h
index 3d1c89f..2917d27 100644
--- a/gcc/gimple-expr.h
+++ b/gcc/gimple-expr.h
@@ -52,6 +52,7 @@ extern bool is_gimple_asm_val (tree);
extern bool is_gimple_min_lval (tree);
extern bool is_gimple_call_addr (tree);
extern bool is_gimple_mem_ref_addr (tree);
+extern void flush_mark_addressable_queue (void);
extern void mark_addressable (tree);
extern bool is_gimple_reg_rhs (tree);