This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 0/4] gimple accessor const correctness fixes


From: Trevor Saunders <tbsaunde+gcc@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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]