From 42acab1cd6812e2d9e49f4132176f5505f49a0e5 Mon Sep 17 00:00:00 2001 From: tbsaunde 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@227941 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/gimple-streamer-in.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gcc/gimple-streamer-in.c') diff --git a/gcc/gimple-streamer-in.c b/gcc/gimple-streamer-in.c index 9659822c267..45bb45f52e4 100644 --- a/gcc/gimple-streamer-in.c +++ b/gcc/gimple-streamer-in.c @@ -88,11 +88,11 @@ input_phi (struct lto_input_block *ib, basic_block bb, struct data_in *data_in, /* Read a statement with tag TAG in function FN from block IB using descriptors in DATA_IN. */ -static gimple +static gimple * input_gimple_stmt (struct lto_input_block *ib, struct data_in *data_in, enum LTO_tags tag) { - gimple stmt; + gimple *stmt; enum gimple_code code; unsigned HOST_WIDE_INT num_ops; size_t i; @@ -279,7 +279,7 @@ input_bb (struct lto_input_block *ib, enum LTO_tags tag, tag = streamer_read_record_start (ib); while (tag) { - gimple stmt = input_gimple_stmt (ib, data_in, tag); + gimple *stmt = input_gimple_stmt (ib, data_in, tag); gsi_insert_after (&bsi, stmt, GSI_NEW_STMT); /* After the statement, expect a 0 delimiter or the EH region -- cgit v1.2.1