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/ipa-pure-const.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'gcc/ipa-pure-const.c') diff --git a/gcc/ipa-pure-const.c b/gcc/ipa-pure-const.c index 8fd8c36..bc4490c 100644 --- a/gcc/ipa-pure-const.c +++ b/gcc/ipa-pure-const.c @@ -634,7 +634,7 @@ check_call (funct_state local, gcall *call, bool ipa) /* Wrapper around check_decl for loads in local more. */ static bool -check_load (gimple, tree op, tree, void *data) +check_load (gimple *, tree op, tree, void *data) { if (DECL_P (op)) check_decl ((funct_state)data, op, false, false); @@ -646,7 +646,7 @@ check_load (gimple, tree op, tree, void *data) /* Wrapper around check_decl for stores in local more. */ static bool -check_store (gimple, tree op, tree, void *data) +check_store (gimple *, tree op, tree, void *data) { if (DECL_P (op)) check_decl ((funct_state)data, op, true, false); @@ -658,7 +658,7 @@ check_store (gimple, tree op, tree, void *data) /* Wrapper around check_decl for loads in ipa mode. */ static bool -check_ipa_load (gimple, tree op, tree, void *data) +check_ipa_load (gimple *, tree op, tree, void *data) { if (DECL_P (op)) check_decl ((funct_state)data, op, false, true); @@ -670,7 +670,7 @@ check_ipa_load (gimple, tree op, tree, void *data) /* Wrapper around check_decl for stores in ipa mode. */ static bool -check_ipa_store (gimple, tree op, tree, void *data) +check_ipa_store (gimple *, tree op, tree, void *data) { if (DECL_P (op)) check_decl ((funct_state)data, op, true, true); @@ -684,7 +684,7 @@ check_ipa_store (gimple, tree op, tree, void *data) static void check_stmt (gimple_stmt_iterator *gsip, funct_state local, bool ipa) { - gimple stmt = gsi_stmt (*gsip); + gimple *stmt = gsi_stmt (*gsip); if (is_gimple_debug (stmt)) return; -- cgit v1.1