summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authortbsaunde <tbsaunde@138bc75d-0d04-0410-961f-82ee72b054a4>2015-09-13 16:55:05 +0000
committertbsaunde <tbsaunde@138bc75d-0d04-0410-961f-82ee72b054a4>2015-09-13 16:55:05 +0000
commit70dd2446cf354889471177cfffdaff8217772b01 (patch)
tree3ff3bd324a40514ec36db13092ed3047302d4029 /gcc
parenteb2958bd7280fa5339540752f66e6bf00d8ebdad (diff)
downloadgcc-70dd2446cf354889471177cfffdaff8217772b01.tar.gz
dwarf2cfi.c: remove typedef that hides pointerness
gcc/ChangeLog: 2015-09-13 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * dwarf2cfi.c (dw_trace_info_ref): Remove typedef. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@227725 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/dwarf2cfi.c5
2 files changed, 5 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 5e8bc636775..ce87a6397d6 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,9 @@
2015-09-13 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
+ * dwarf2cfi.c (dw_trace_info_ref): Remove typedef.
+
+2015-09-13 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
+
* tree-vrp.c (struct assert_locus_d): Rename to assert_locus.
(dump_asserts_for): Adjust.
(register_new_assert_for): Likewise.
diff --git a/gcc/dwarf2cfi.c b/gcc/dwarf2cfi.c
index ab18062852b..1cfa6a79085 100644
--- a/gcc/dwarf2cfi.c
+++ b/gcc/dwarf2cfi.c
@@ -160,9 +160,6 @@ struct dw_trace_info
};
-typedef dw_trace_info *dw_trace_info_ref;
-
-
/* Hashtable helpers. */
struct trace_info_hasher : nofree_ptr_hash <dw_trace_info>
@@ -186,7 +183,7 @@ trace_info_hasher::equal (const dw_trace_info *a, const dw_trace_info *b)
/* The variables making up the pseudo-cfg, as described above. */
static vec<dw_trace_info> trace_info;
-static vec<dw_trace_info_ref> trace_work_list;
+static vec<dw_trace_info *> trace_work_list;
static hash_table<trace_info_hasher> *trace_index;
/* A vector of call frame insns for the CIE. */