From ee86077c2c2e38376cb5a575af62e9187c98e8df Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Tue, 22 Nov 2022 16:30:38 -0700 Subject: [PATCH] Fix thinko in last patch gcc/ * tree-ssa-dom.cc (record_edge_info): Fix thinko in last commit. --- gcc/tree-ssa-dom.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/tree-ssa-dom.cc b/gcc/tree-ssa-dom.cc index e82f4f73a66..c9e52d1ee94 100644 --- a/gcc/tree-ssa-dom.cc +++ b/gcc/tree-ssa-dom.cc @@ -676,7 +676,7 @@ record_edge_info (basic_block bb) if it never traverses the backedge to begin with. This implies that any PHI nodes create equivalances that we can attach to the loop exit edge. */ - int bool + bool alternative = (EDGE_PRED (bb, 0)->flags & EDGE_DFS_BACK) ? 1 : 0; gphi_iterator gsi;