gcc/ChangeLog:
2015-10-05 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
* gimple.h (gimple_location_ptr): Remove.
* tree-vrp.c (check_all_array_refs): Adjust.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@228485
138bc75d-0d04-0410-961f-
82ee72b054a4
2015-10-05 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
+ * gimple.h (gimple_location_ptr): Remove.
+ * tree-vrp.c (check_all_array_refs): Adjust.
+
+2015-10-05 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
+
* tree-ssa-operands.c (build_uses): store tree * instead of
tree.
(finalize_ssa_uses): Adjust.
return g ? gimple_location (g) : UNKNOWN_LOCATION;
}
-/* Return pointer to location information for statement G. */
-
-static inline const location_t *
-gimple_location_ptr (const gimple *g)
-{
- return &g->location;
-}
-
-
/* Set location information for statement G. */
static inline void
continue;
memset (&wi, 0, sizeof (wi));
- wi.info = CONST_CAST (void *, (const void *)
- gimple_location_ptr (stmt));
+
+ location_t loc = gimple_location (stmt);
+ wi.info = &loc;
walk_gimple_op (gsi_stmt (si),
check_array_bounds,