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]

Re: [PATCH 05/18] make stores rtx_insn_list a vec


On Wed, Apr 20, 2016 at 02:22:09AM -0400, tbsaunde+gcc@tbsaunde.org wrote:
> 2016-04-19  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
> 
> 	* gcse.c (struct ls_expr): make stores field a vector.

Capital M.

> @@ -3604,7 +3604,7 @@ ldst_entry (rtx x)
>    ptr->expr         = NULL;
>    ptr->pattern      = x;
>    ptr->pattern_regs = NULL_RTX;
> -  ptr->stores       = NULL;
> +  ptr->stores      .create (0);

Spaces.

> @@ -3620,7 +3620,7 @@ ldst_entry (rtx x)
>  static void
>  free_ldst_entry (struct ls_expr * ptr)
>  {
> -  free_INSN_LIST_list (& ptr->stores);
> +   ptr->stores.release ();

Wrong indent.


Segher


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