[gcc(refs/users/pheeck/heads/sccp)] Fix thinko in last patch
Filip Kastl
pheeck@gcc.gnu.org
Wed Feb 15 10:20:56 GMT 2023
https://gcc.gnu.org/g:576efc7235527d7831c5d172e488922d03661752
commit 576efc7235527d7831c5d172e488922d03661752
Author: Jeff Law <jlaw@ventanamicro.com>
Date: Tue Nov 22 16:30:38 2022 -0700
Fix thinko in last patch
gcc/
* tree-ssa-dom.cc (record_edge_info): Fix thinko in last commit.
Diff:
---
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;
More information about the Gcc-cvs
mailing list