Re: [PATCH 01/50] Add rtl-iter.h

2014-08-09 Thread Richard Sandiford
Richard Henderson writes: > On 08/03/2014 03:39 AM, Richard Sandiford wrote: >> +struct rtx_subrtx_bound_info { >> + unsigned char start; >> + unsigned char count; >> +}; > > Given this structure is only two bytes... > >> + /* The bounds to use for iterating over subrtxes. */ >> + const rtx_s

Re: [PATCH 01/50] Add rtl-iter.h

2014-08-05 Thread Richard Henderson
On 08/03/2014 03:39 AM, Richard Sandiford wrote: > +struct rtx_subrtx_bound_info { > + unsigned char start; > + unsigned char count; > +}; Given this structure is only two bytes... > + /* The bounds to use for iterating over subrtxes. */ > + const rtx_subrtx_bound_info *m_bounds; ... wouldn

Re: [PATCH 01/50] Add rtl-iter.h

2014-08-05 Thread Jeff Law
On 08/03/14 07:39, Richard Sandiford wrote: This patch adds the new iterators. gcc/ * rtl-iter.h: New file. * rtlanal.c: Include it. (rtx_all_subrtx_bounds, rtx_nonconst_subrtx_bounds): New variables. (generic_subrtx_iterator ::add_single_to_queue) (gener

[PATCH 01/50] Add rtl-iter.h

2014-08-03 Thread Richard Sandiford
This patch adds the new iterators. gcc/ * rtl-iter.h: New file. * rtlanal.c: Include it. (rtx_all_subrtx_bounds, rtx_nonconst_subrtx_bounds): New variables. (generic_subrtx_iterator ::add_single_to_queue) (generic_subrtx_iterator ::add_subrtxes_to_queue)