On 04/20/2016 05:45 AM, Segher Boessenkool wrote:
On Wed, Apr 20, 2016 at 02:22:09AM -0400, tbsaunde+...@tbsaunde.org wrote:
2016-04-19  Trevor Saunders  <tbsaunde+...@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.
Patch is OK with those nits fixed.

jeff

Reply via email to