From 6e6415f6e25deb9e15d3d7eb9e2776f4a15c68b3 Mon Sep 17 00:00:00 2001 From: James Cherry Date: Wed, 27 May 2020 20:24:01 -0700 Subject: [PATCH] RequiredVisitor::visitFromToPath to_tag_group null check --- search/Search.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/search/Search.cc b/search/Search.cc index 9c468452..6bd96bac 100644 --- a/search/Search.cc +++ b/search/Search.cc @@ -3445,7 +3445,7 @@ RequiredVisitor::visitFromToPath(const Pin *, const MinMax *req_min = min_max->opposite(); TagGroup *to_tag_group = sta_->search()->tagGroup(to_vertex); // Check to see if to_tag was pruned. - if (to_tag_group->hasTag(to_tag)) { + if (to_tag_group && to_tag_group->hasTag(to_tag)) { PathVertex to_path(to_vertex, to_tag, sta_); Required to_required = to_path.required(sta_); Required from_required = to_required - arc_delay;