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 c5b213e1ae80c5436196ec2c3073ae87e5acf9ea..ef38cfeaaffa9b0e233c2ebba79685ca1f4bcf58 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 42f02765824f6045099e8b1baba4d54ba1975795..9cd39a2b6af2545b23a45b2bd5a9401cc3856919 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)