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
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
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]);
> +
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.