From f3dc991fba095b38b15cd667e5cd15b1c418e809 Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Fri, 13 Nov 2020 23:32:02 +0100 Subject: [PATCH] Revert accidental commit * tree-ssa-alias.c (ao_ref_base_alias_ptr_type): Remove accidental commit. (ao_ref_alias_ptr_type): Remove accidental commit. --- gcc/tree-ssa-alias.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/gcc/tree-ssa-alias.c b/gcc/tree-ssa-alias.c index 9f279c805e5..5ebbb087285 100644 --- a/gcc/tree-ssa-alias.c +++ b/gcc/tree-ssa-alias.c @@ -755,7 +755,6 @@ ao_ref_base_alias_ptr_type (ao_ref *ref) while (handled_component_p (base_ref)) base_ref = TREE_OPERAND (base_ref, 0); tree ret = reference_alias_ptr_type (base_ref); - gcc_checking_assert (get_deref_alias_set (ret) == ao_ref_base_alias_set (ref)); return ret; } @@ -768,7 +767,6 @@ ao_ref_alias_ptr_type (ao_ref *ref) if (!ref->ref) return NULL_TREE; tree ret = reference_alias_ptr_type (ref->ref); - gcc_checking_assert (get_deref_alias_set (ret) == ao_ref_alias_set (ref)); return ret; } -- 2.30.2