remove gimple_location_ptr ()
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. From-SVN: r228485
This commit is contained in:
parent
572d790ac1
commit
b2b91e8533
|
@ -1,3 +1,8 @@
|
|||
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
|
||||
|
|
|
@ -1734,15 +1734,6 @@ gimple_location_safe (const gimple *g)
|
|||
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
|
||||
|
|
|
@ -6717,8 +6717,9 @@ check_all_array_refs (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,
|
||||
|
|
Loading…
Reference in New Issue