analyzer: fix build with ada [PR93723]
authorDavid Malcolm <dmalcolm@redhat.com>
Tue, 13 Oct 2020 21:11:17 +0000 (17:11 -0400)
committerDavid Malcolm <dmalcolm@redhat.com>
Wed, 14 Oct 2020 20:37:36 +0000 (16:37 -0400)
gcc/analyzer/ChangeLog:
PR analyzer/93723
* store.cc (binding_map::apply_ctor_to_region): Remove redundant
assertion.

gcc/analyzer/store.cc

index 115851235618135620702d120d50f0b5c05c3f89..7e91addd035f8163f8dbc0e5543334cc31e37b1c 100644 (file)
@@ -455,7 +455,6 @@ binding_map::apply_ctor_to_region (const region *parent_reg, tree ctor,
 {
   gcc_assert (parent_reg);
   gcc_assert (TREE_CODE (ctor) == CONSTRUCTOR);
-  gcc_assert (!CONSTRUCTOR_NO_CLEARING (ctor));
 
   unsigned ix;
   tree index;