From 30ca9fbe9012fb455d55bc8f96d4438b5b271e59 Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Tue, 2 Jul 2019 10:35:58 +0200 Subject: [PATCH] tree-ssa-alias.c (aliasing_component_refs_p): Remove forgotten sanity check. * tree-ssa-alias.c (aliasing_component_refs_p): Remove forgotten sanity check. From-SVN: r272927 --- gcc/ChangeLog | 5 +++++ gcc/tree-ssa-alias.c | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b9ec15b1946..48ac980fa45 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2019-07-02 Jan Hubicka + + * tree-ssa-alias.c (aliasing_component_refs_p): Remove forgotten + sanity check. + 2019-07-02 Jan Hubicka * tree-ssa-alias.c (nonoverlapping_component_refs_for_decl_p): Rename diff --git a/gcc/tree-ssa-alias.c b/gcc/tree-ssa-alias.c index 3763b8598a2..c3c127a761e 100644 --- a/gcc/tree-ssa-alias.c +++ b/gcc/tree-ssa-alias.c @@ -1105,7 +1105,6 @@ aliasing_component_refs_p (tree ref1, && (base1_alias_set == ref2_alias_set || alias_set_subset_of (base1_alias_set, ref2_alias_set))) { - gcc_checking_assert (!nonoverlapping_component_refs_p (ref1, ref2)); ++alias_stats.aliasing_component_refs_p_may_alias; return true; } @@ -1118,7 +1117,6 @@ aliasing_component_refs_p (tree ref1, && (base2_alias_set == ref1_alias_set || alias_set_subset_of (base2_alias_set, ref1_alias_set))) { - gcc_checking_assert (!nonoverlapping_component_refs_p (ref1, ref2)); ++alias_stats.aliasing_component_refs_p_may_alias; return true; } -- 2.30.2