25 lines
785 B
Diff
25 lines
785 B
Diff
From 69cae9164ec85ef416c29baa3dd8b2b11edf8b71 Mon Sep 17 00:00:00 2001
|
|
From: yzyssdd <yuzeyang4@huawei.com>
|
|
Date: Tue, 18 Jun 2024 11:16:15 +0800
|
|
Subject: [PATCH] Fix bug in detecting abnormal revisit for bb
|
|
|
|
---
|
|
gcc/tree-ssa-llc-allocate.c | 1 -
|
|
1 file changed, 1 deletion(-)
|
|
|
|
diff --git a/gcc/tree-ssa-llc-allocate.c b/gcc/tree-ssa-llc-allocate.c
|
|
index 3f6ff3623..a1e7b0eb6 100644
|
|
--- a/gcc/tree-ssa-llc-allocate.c
|
|
+++ b/gcc/tree-ssa-llc-allocate.c
|
|
@@ -2348,7 +2348,6 @@ revisit_bb_abnormal_p (basic_block bb, std::vector<int> &bb_visited,
|
|
if (dump_file && (dump_flags & TDF_DETAILS))
|
|
fprintf (dump_file, "Already visited bb index %d. Abort.\n",
|
|
bb->index);
|
|
- unused_edges.insert (std::make_pair (src_bb_idx, bb->index));
|
|
return true;
|
|
}
|
|
|
|
--
|
|
2.33.0
|
|
|