aboutsummaryrefslogtreecommitdiff
path: root/gcc/varasm.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/varasm.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/varasm.c')
-rw-r--r--gcc/varasm.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/varasm.c b/gcc/varasm.c
index 6a4ba0b..2ebac89 100644
--- a/gcc/varasm.c
+++ b/gcc/varasm.c
@@ -4640,10 +4640,10 @@ initializer_constant_valid_for_bitfield_p (tree value)
/* output_constructor outer state of relevance in recursive calls, typically
for nested aggregate bitfields. */
-typedef struct {
+struct oc_outer_state {
unsigned int bit_offset; /* current position in ... */
int byte; /* ... the outer byte buffer. */
-} oc_outer_state;
+};
static unsigned HOST_WIDE_INT
output_constructor (tree, unsigned HOST_WIDE_INT, unsigned int,
@@ -4883,7 +4883,7 @@ array_size_for_constructor (tree val)
/* output_constructor local state to support interaction with helpers. */
-typedef struct {
+struct oc_local_state {
/* Received arguments. */
tree exp; /* Constructor expression. */
@@ -4904,7 +4904,7 @@ typedef struct {
tree val; /* Current element value. */
tree index; /* Current element index. */
-} oc_local_state;
+};
/* Helper for output_constructor. From the current LOCAL state, output a
RANGE_EXPR element. */
@@ -5829,12 +5829,12 @@ get_tm_clone_pair (tree o)
return NULL_TREE;
}
-typedef struct tm_alias_pair
+struct tm_alias_pair
{
unsigned int uid;
tree from;
tree to;
-} tm_alias_pair;
+};
/* Dump the actual pairs to the .tm_clone_table section. */