aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-loop-ivopts.c
diff options
context:
space:
mode:
authorTrevor Saunders <tbsaunde@tbsaunde.org>2015-08-19 02:48:16 +0000
committerTrevor Saunders <tbsaunde@gcc.gnu.org>2015-08-19 02:48:16 +0000
commit506868500a53b9181d45596cc7e138dce2f97d9e (patch)
tree635f05175292691ee1ddfb5191b1bbd36cff2ce7 /gcc/tree-ssa-loop-ivopts.c
parent9e110892a30acb3a7b405e9b19c1074e7ad59846 (diff)
downloadgcc-506868500a53b9181d45596cc7e138dce2f97d9e.zip
gcc-506868500a53b9181d45596cc7e138dce2f97d9e.tar.gz
gcc-506868500a53b9181d45596cc7e138dce2f97d9e.tar.bz2
remove useless typedefs
gcc/ChangeLog: 2015-08-11 trevor Saunders <tbsaunde@tbsaunde.org> * bt-load.c, cgraph.h, dwarf2out.c, dwarf2out.h, final.c, function.c, graphite-scop-detection.c, haifa-sched.c, ipa-devirt.c, ipa-split.c, recog.c, ree.c, stmt.c, tree-data-ref.c, tree-ssa-dom.c, tree-ssa-loop-ivopts.c, varasm.c: Remove typedefs of structs. From-SVN: r227000
Diffstat (limited to 'gcc/tree-ssa-loop-ivopts.c')
-rw-r--r--gcc/tree-ssa-loop-ivopts.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree-ssa-loop-ivopts.c b/gcc/tree-ssa-loop-ivopts.c
index 6bce3a1..723a9f7 100644
--- a/gcc/tree-ssa-loop-ivopts.c
+++ b/gcc/tree-ssa-loop-ivopts.c
@@ -169,14 +169,14 @@ enum use_type
};
/* Cost of a computation. */
-typedef struct
+struct comp_cost
{
int cost; /* The runtime cost. */
unsigned complexity; /* The estimate of the complexity of the code for
the computation (in no concrete units --
complexity field should be larger for more
complex expressions and addressing modes). */
-} comp_cost;
+};
static const comp_cost no_cost = {0, 0};
static const comp_cost infinite_cost = {INFTY, INFTY};