make more gimple_x_ptr accessors const correct
authorTrevor Saunders <tbsaunde+gcc@tbsaunde.org>
Mon, 5 Oct 2015 13:55:08 +0000 (13:55 +0000)
committerTrevor Saunders <tbsaunde@gcc.gnu.org>
Mon, 5 Oct 2015 13:55:08 +0000 (13:55 +0000)
commit1d10676d8c6146eec7afe6fa298bc8d113bcc0da
treed47573fb7641ead3bc1d0dd46a173d3d0ecdc387
parenteedc18841c706a69f10672acbfedf263b72f06d4
make more gimple_x_ptr accessors const correct

gcc/ChangeLog:

2015-10-05  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>

* gimple.h (gimple_op_ptr): Require a non const gimple *.
(gimple_assign_lhs_ptr): Likewise.
(gimple_assign_rhs1_ptr): Likewise.
(gimple_assign_rhs2_ptr): Likewise.
(gimple_assign_rhs3_ptr): Likewise.
(gimple_call_lhs_ptr): Likewise.
(gimple_call_fn_ptr): Likewise.
(gimple_call_chain_ptr): Likewise.
(gimple_call_arg_ptr): Likewise.
(gimple_cond_lhs_ptr): Likewise.
(gimple_cond_rhs_ptr): Likewise.
(gimple_switch_index_ptr): Likewise.
(gimple_return_retval_ptr): Likewise.

From-SVN: r228487
gcc/ChangeLog
gcc/gimple.h