From 355fe0884b8097c32e859f0df57c83bde0c6bd26 Mon Sep 17 00:00:00 2001 From: Trevor Saunders Date: Sun, 20 Sep 2015 00:52:59 +0000 Subject: switch from gimple to gimple* This renames the gimple_statement_base struct to gimple removes the typedef of gimple_statement_base * to gimple, and then adjusts all of the places that use the type. gcc/ChangeLog: 2015-09-19 Trevor Saunders * coretypes.h (gimple): Change typedef to be a forward declaration. * gimple.h (gimple_statement_base): rename to gimple. * (all functions and types using gimple): Adjust. * *.[ch]: Likewise. gcc/cp/ChangeLog: 2015-09-19 Trevor Saunders * cp-gimplify.c (gimplify_must_not_throw_expr): Adjust. From-SVN: r227941 --- gcc/tree-ssa-loop-prefetch.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'gcc/tree-ssa-loop-prefetch.c') diff --git a/gcc/tree-ssa-loop-prefetch.c b/gcc/tree-ssa-loop-prefetch.c index 0260b26..f020ea3 100644 --- a/gcc/tree-ssa-loop-prefetch.c +++ b/gcc/tree-ssa-loop-prefetch.c @@ -275,7 +275,7 @@ struct mem_ref_group struct mem_ref { - gimple stmt; /* Statement in that the reference appears. */ + gimple *stmt; /* Statement in that the reference appears. */ tree mem; /* The reference. */ HOST_WIDE_INT delta; /* Constant offset of the reference. */ struct mem_ref_group *group; /* The group of references it belongs to. */ @@ -364,7 +364,7 @@ find_or_create_group (struct mem_ref_group **groups, tree base, tree step) WRITE_P. The reference occurs in statement STMT. */ static void -record_ref (struct mem_ref_group *group, gimple stmt, tree mem, +record_ref (struct mem_ref_group *group, gimple *stmt, tree mem, HOST_WIDE_INT delta, bool write_p) { struct mem_ref **aref; @@ -430,7 +430,7 @@ release_mem_refs (struct mem_ref_group *groups) struct ar_data { struct loop *loop; /* Loop of the reference. */ - gimple stmt; /* Statement of the reference. */ + gimple *stmt; /* Statement of the reference. */ tree *step; /* Step of the memory reference. */ HOST_WIDE_INT *delta; /* Offset of the memory reference. */ }; @@ -496,7 +496,7 @@ idx_analyze_ref (tree base, tree *index, void *data) static bool analyze_ref (struct loop *loop, tree *ref_p, tree *base, tree *step, HOST_WIDE_INT *delta, - gimple stmt) + gimple *stmt) { struct ar_data ar_data; tree off; @@ -544,7 +544,7 @@ analyze_ref (struct loop *loop, tree *ref_p, tree *base, static bool gather_memory_references_ref (struct loop *loop, struct mem_ref_group **refs, - tree ref, bool write_p, gimple stmt) + tree ref, bool write_p, gimple *stmt) { tree base, step; HOST_WIDE_INT delta; @@ -620,7 +620,7 @@ gather_memory_references (struct loop *loop, bool *no_other_refs, unsigned *ref_ basic_block bb; unsigned i; gimple_stmt_iterator bsi; - gimple stmt; + gimple *stmt; tree lhs, rhs; struct mem_ref_group *refs = NULL; -- cgit v1.1