aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--icetime/icetime.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/icetime/icetime.cc b/icetime/icetime.cc
index 2ba3158..b95c2fe 100644
--- a/icetime/icetime.cc
+++ b/icetime/icetime.cc
@@ -779,6 +779,10 @@ struct TimingAnalysis
if (n.empty()) {
n = global_max_path_net;
+ if (n.empty()) {
+ fprintf(stderr, "No path found!\n");
+ exit(1);
+ }
if (frpt) {
int i = fprintf(frpt, "Report for critical path:\n");
while (--i) fputc('-', frpt);