Re: [PATCH 02/18] make avail_stores a vec

2016-04-26 Thread Richard Sandiford
Another style nit on top of the ones already posted, sorry: tbsaunde+...@tbsaunde.org writes: > +void > +print_rtx_insn_vec (FILE *file, const vec &vec) > +{ > + fputc('{', file); missing space before '('. Richard

Re: [PATCH 02/18] make avail_stores a vec

2016-04-21 Thread Jeff Law
On 04/20/2016 12:22 AM, tbsaunde+...@tbsaunde.org wrote: From: Trevor Saunders gcc/ChangeLog: 2016-04-19 Trevor Saunders * print-rtl.c (print_rtx_insn_vec): New function. * print-rtl.h: New prototype. * rtl.h: Likewise. * store-motion.c (struct st_expr): Mak

Re: [PATCH 02/18] make avail_stores a vec

2016-04-20 Thread Segher Boessenkool
On Wed, Apr 20, 2016 at 02:22:06AM -0400, tbsaunde+...@tbsaunde.org wrote: > +void > +print_rtx_insn_vec (FILE *file, const vec &vec) > +{ > + fputc('{', file); > + > + unsigned int len = vec.length (); > + for (unsigned int i = 0; i < len; i++) > +{ > + print_rtl (file, vec[i]); > +

[PATCH 02/18] make avail_stores a vec

2016-04-19 Thread tbsaunde+gcc
From: Trevor Saunders gcc/ChangeLog: 2016-04-19 Trevor Saunders * print-rtl.c (print_rtx_insn_vec): New function. * print-rtl.h: New prototype. * rtl.h: Likewise. * store-motion.c (struct st_expr): Make avail_stores a vector. (st_expr_entry): Adjust.