diff options
author | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-04-14 14:06:30 +0000 |
---|---|---|
committer | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-04-14 14:06:30 +0000 |
commit | da43189a025677a4248e5b2b54e359b60573986e (patch) | |
tree | 4f2cc28d286780ee5ce809687d5e26ee6348ae23 /gcc/tree-ssa-ter.c | |
parent | f2f4d483b4e0a09e6ea38f98c59830fdd1a085ad (diff) | |
download | gcc-da43189a025677a4248e5b2b54e359b60573986e.tar.gz |
2016-04-14 Basile Starynkevitch <basile@starynkevitch.net>
{{merging with even more of GCC 6, using subversion 1.9
svn merge -r227940:227942 ^/trunk
}}
[gcc/]
2016-04-14 Basile Starynkevitch <basile@starynkevitch.net>
{{merging with even more of GCC 6, i.e. svn rev 227942; very
unstable...}}
* melt/generated/warmelt-base+01.cc: Manually edited.
* melt/generated/warmelt-debug.cc: Ditto.
* melt/generated/warmelt-macro+01.cc: Ditto.
* melt/warmelt-first.melt (ctype_gimple, ctype_gimpleseq): Change
the :ctype_marker field to gt_ggc_mx_gimple. Should consider using
overloaded gt_ggc_mx.
* melt-runtime.h (melt_gimple_call_set_lhs): Use melt_gimpleptr_t
in arg & result.
* melt-runtime.cc (meltgc_retrieve_location_from_value)
(meltgc_ppout_gimple): Likewise.
(melt_gt_ggc_mx_gimple_seq_d): Specialized for GCC 6.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@234975 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa-ter.c')
-rw-r--r-- | gcc/tree-ssa-ter.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/tree-ssa-ter.c b/gcc/tree-ssa-ter.c index 17686a9d581..7a7bcc940f9 100644 --- a/gcc/tree-ssa-ter.c +++ b/gcc/tree-ssa-ter.c @@ -395,14 +395,14 @@ finished_with_expr (temp_expr_table *tab, int version, bool free_expr) is available. */ static inline bool -ter_is_replaceable_p (gimple stmt) +ter_is_replaceable_p (gimple *stmt) { if (ssa_is_replaceable_p (stmt)) { use_operand_p use_p; tree def; - gimple use_stmt; + gimple *use_stmt; location_t locus1, locus2; tree block1, block2; @@ -443,7 +443,7 @@ ter_is_replaceable_p (gimple stmt) /* Create an expression entry for a replaceable expression. */ static void -process_replaceable (temp_expr_table *tab, gimple stmt, int call_cnt) +process_replaceable (temp_expr_table *tab, gimple *stmt, int call_cnt) { tree var, def, basevar; int version; @@ -562,7 +562,7 @@ find_ssaname (tree *tp, int *walk_subtrees, void *data) walk_stmt_load_store_addr_ops. */ static bool -find_ssaname_in_store (gimple, tree, tree t, void *data) +find_ssaname_in_store (gimple *, tree, tree t, void *data) { return walk_tree (&t, find_ssaname, data, NULL) != NULL_TREE; } @@ -574,7 +574,7 @@ static void find_replaceable_in_bb (temp_expr_table *tab, basic_block bb) { gimple_stmt_iterator bsi; - gimple stmt; + gimple *stmt; tree def, use, fndecl; int partition; var_map map = tab->map; @@ -622,7 +622,7 @@ find_replaceable_in_bb (temp_expr_table *tab, basic_block bb) assignments which we cannot expand correctly. */ if (gimple_vdef (stmt)) { - gimple def_stmt = SSA_NAME_DEF_STMT (use); + gimple *def_stmt = SSA_NAME_DEF_STMT (use); while (is_gimple_assign (def_stmt) && gimple_assign_rhs_code (def_stmt) == SSA_NAME) def_stmt |