tree-ssa-alias.c (nonoverlapping_component_refs_p): Fix pasto in my previous patch.
authorJan Hubicka <hubicka@ucw.cz>
Sun, 16 Jun 2019 15:37:15 +0000 (17:37 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Sun, 16 Jun 2019 15:37:15 +0000 (15:37 +0000)
* tree-ssa-alias.c (nonoverlapping_component_refs_p): Fix pasto
in my previous patch.

From-SVN: r272354

gcc/ChangeLog
gcc/tree-ssa-alias.c

index c5b213e..ef38cfe 100644 (file)
@@ -1,3 +1,8 @@
+2019-06-15  Jan Hubicka  <hubicka@ucw.cz>
+
+       * tree-ssa-alias.c (nonoverlapping_component_refs_p): Fix pasto
+       in my previous patch.
+
 2019-06-16  Tom de Vries  <tdevries@suse.de>
 
        PR tree-optimization/89376
index 42f0276..9cd39a2 100644 (file)
@@ -1230,7 +1230,7 @@ nonoverlapping_component_refs_p (const_tree x, const_tree y)
            fieldsy.safe_push (TREE_OPERAND (y, 1));
        }
       else if (TREE_CODE (y) == VIEW_CONVERT_EXPR)
-       fieldsx.truncate (0);
+       fieldsy.truncate (0);
       y = TREE_OPERAND (y, 0);
     }
   if (fieldsy.length () == 0)