Commit 60dd79ca by Thomas Schwinge Committed by Thomas Schwinge

Additional changes to switch from gimple to gimple *

	gcc/
	* tree-object-size.c (plus_stmt_object_size)
	(cond_expr_object_size): Change the formal parameters from gimple
	to gimple *.
	* tree-ssa-sccvn.h (vn_nary_op_insert_stmt): Likewise.
	* tree-ssa-sccvn.c (vn_nary_op_insert_stmt): Make it static.
	* tree-ssa-sccvn.h (vn_nary_op_insert_stmt): Don't declare.

From-SVN: r228080
parent bc6e483f
2015-09-24 Thomas Schwinge <thomas@codesourcery.com>
* tree-object-size.c (plus_stmt_object_size)
(cond_expr_object_size): Change the formal parameters from gimple
to gimple *.
* tree-ssa-sccvn.h (vn_nary_op_insert_stmt): Likewise.
* tree-ssa-sccvn.c (vn_nary_op_insert_stmt): Make it static.
* tree-ssa-sccvn.h (vn_nary_op_insert_stmt): Don't declare.
2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* configure.ac (gcc_cv_ld_pie): Check for gld >= 2.26 on Solaris. * configure.ac (gcc_cv_ld_pie): Check for gld >= 2.26 on Solaris.
...@@ -59,8 +59,8 @@ static void collect_object_sizes_for (struct object_size_info *, tree); ...@@ -59,8 +59,8 @@ static void collect_object_sizes_for (struct object_size_info *, tree);
static void expr_object_size (struct object_size_info *, tree, tree); static void expr_object_size (struct object_size_info *, tree, tree);
static bool merge_object_sizes (struct object_size_info *, tree, tree, static bool merge_object_sizes (struct object_size_info *, tree, tree,
unsigned HOST_WIDE_INT); unsigned HOST_WIDE_INT);
static bool plus_stmt_object_size (struct object_size_info *, tree, gimple); static bool plus_stmt_object_size (struct object_size_info *, tree, gimple *);
static bool cond_expr_object_size (struct object_size_info *, tree, gimple); static bool cond_expr_object_size (struct object_size_info *, tree, gimple *);
static void init_offset_limit (void); static void init_offset_limit (void);
static void check_for_plus_in_loops (struct object_size_info *, tree); static void check_for_plus_in_loops (struct object_size_info *, tree);
static void check_for_plus_in_loops_1 (struct object_size_info *, tree, static void check_for_plus_in_loops_1 (struct object_size_info *, tree,
......
...@@ -76,12 +76,12 @@ along with GCC; see the file COPYING3. If not see ...@@ -76,12 +76,12 @@ along with GCC; see the file COPYING3. If not see
The main alias-oracle entry-points are The main alias-oracle entry-points are
bool stmt_may_clobber_ref_p (gimple, tree) bool stmt_may_clobber_ref_p (gimple *, tree)
This function queries if a statement may invalidate (parts of) This function queries if a statement may invalidate (parts of)
the memory designated by the reference tree argument. the memory designated by the reference tree argument.
bool ref_maybe_used_by_stmt_p (gimple, tree) bool ref_maybe_used_by_stmt_p (gimple *, tree)
This function queries if a statement may need (parts of) the This function queries if a statement may need (parts of) the
memory designated by the reference tree argument. memory designated by the reference tree argument.
......
...@@ -2684,7 +2684,7 @@ vn_nary_op_insert (tree op, tree result) ...@@ -2684,7 +2684,7 @@ vn_nary_op_insert (tree op, tree result)
/* Insert the rhs of STMT into the current hash table with a value number of /* Insert the rhs of STMT into the current hash table with a value number of
RESULT. */ RESULT. */
vn_nary_op_t static vn_nary_op_t
vn_nary_op_insert_stmt (gimple *stmt, tree result) vn_nary_op_insert_stmt (gimple *stmt, tree result)
{ {
vn_nary_op_t vno1 vn_nary_op_t vno1
......
...@@ -204,7 +204,6 @@ tree vn_nary_op_lookup_stmt (gimple *, vn_nary_op_t *); ...@@ -204,7 +204,6 @@ tree vn_nary_op_lookup_stmt (gimple *, vn_nary_op_t *);
tree vn_nary_op_lookup_pieces (unsigned int, enum tree_code, tree vn_nary_op_lookup_pieces (unsigned int, enum tree_code,
tree, tree *, vn_nary_op_t *); tree, tree *, vn_nary_op_t *);
vn_nary_op_t vn_nary_op_insert (tree, tree); vn_nary_op_t vn_nary_op_insert (tree, tree);
vn_nary_op_t vn_nary_op_insert_stmt (gimple, tree);
vn_nary_op_t vn_nary_op_insert_pieces (unsigned int, enum tree_code, vn_nary_op_t vn_nary_op_insert_pieces (unsigned int, enum tree_code,
tree, tree *, tree, unsigned int); tree, tree *, tree, unsigned int);
bool ao_ref_init_from_vn_reference (ao_ref *, alias_set_type, tree, bool ao_ref_init_from_vn_reference (ao_ref *, alias_set_type, tree,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment