Remove nonoverlapping_component_refs_of_decl_p

Jan Hubicka hubicka@ucw.cz
Sun Jun 16 15:38:00 GMT 2019


Hi,
my patch had a typo - I forgot to update the second call of truncate.
This fixes it. Bootstrapped/regtested with all languages on x86_64-linux
and comitted.
This unbreaks non-lto Ada bootstrap failure.

	* tree-ssa-alias.c (nonoverlapping_component_refs_p): Fix pasto
	in my previous patch.
Index: tree-ssa-alias.c
===================================================================
--- tree-ssa-alias.c	(revision 272353)
+++ tree-ssa-alias.c	(working copy)
@@ -1230,7 +1230,7 @@ nonoverlapping_component_refs_p (const_t
 	    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)



More information about the Gcc-patches mailing list