aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.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/function.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/function.c')
-rw-r--r--gcc/function.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/function.c b/gcc/function.c
index 715c19f..5a3c7bc 100644
--- a/gcc/function.c
+++ b/gcc/function.c
@@ -1230,18 +1230,18 @@ init_temp_slots (void)
/* Private type used by get_hard_reg_initial_reg, get_hard_reg_initial_val,
and has_hard_reg_initial_val.. */
-typedef struct GTY(()) initial_value_pair {
+struct GTY(()) initial_value_pair {
rtx hard_reg;
rtx pseudo;
-} initial_value_pair;
+};
/* ??? This could be a VEC but there is currently no way to define an
opaque VEC type. This could be worked around by defining struct
initial_value_pair in function.h. */
-typedef struct GTY(()) initial_value_struct {
+struct GTY(()) initial_value_struct {
int num_entries;
int max_entries;
initial_value_pair * GTY ((length ("%h.num_entries"))) entries;
-} initial_value_struct;
+};
/* If a pseudo represents an initial hard reg (or expression), return
it, else return NULL_RTX. */