From 612254eaf59874e8cea934b7400bcb7348ecdd43 Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Sun, 16 Jun 2019 17:37:15 +0200 Subject: [PATCH] tree-ssa-alias.c (nonoverlapping_component_refs_p): Fix pasto in my previous patch. * tree-ssa-alias.c (nonoverlapping_component_refs_p): Fix pasto in my previous patch. From-SVN: r272354 --- gcc/ChangeLog | 5 +++++ gcc/tree-ssa-alias.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c5b213e..ef38cfe 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2019-06-15 Jan Hubicka + + * tree-ssa-alias.c (nonoverlapping_component_refs_p): Fix pasto + in my previous patch. + 2019-06-16 Tom de Vries PR tree-optimization/89376 diff --git a/gcc/tree-ssa-alias.c b/gcc/tree-ssa-alias.c index 42f0276..9cd39a2 100644 --- a/gcc/tree-ssa-alias.c +++ b/gcc/tree-ssa-alias.c @@ -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) -- 2.7.4