From: Trevor Saunders <tbsaunde+...@tbsaunde.org>

Hi,

the first patch is just some cleanup  I ran into along the way, but the rest of
this series fixes const correctness for all of the gimple_x_ptr () functions.
I was able to just remove a couple of them, but unfortunately most ar needed
for either tree walking, or the use def data structures which store pointers
into gimple statements.

patches individually bootstrapped + regtested on x86_64-gnu-linux, ok?

Trev

Trevor Saunders (4):
  make build_uses store tree * instead of tree
  remove gimple_location_ptr ()
  remove unused gasm accessors
  make more gimple_x_ptr accessors const correct

 gcc/gimple.h            | 107 ++++++++++++++++++------------------------------
 gcc/tree-ssa-operands.c |  30 +++++++-------
 gcc/tree-vrp.c          |   5 ++-
 3 files changed, 58 insertions(+), 84 deletions(-)

-- 
2.4.0

Reply via email to