From: Jeff Law Date: Tue, 22 Nov 2022 23:30:38 +0000 (-0700) Subject: Fix thinko in last patch X-Git-Tag: basepoints/gcc-14~2954 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee86077c2c2e38376cb5a575af62e9187c98e8df;p=thirdparty%2Fgcc.git Fix thinko in last patch gcc/ * tree-ssa-dom.cc (record_edge_info): Fix thinko in last commit. --- diff --git a/gcc/tree-ssa-dom.cc b/gcc/tree-ssa-dom.cc index e82f4f73a66e..c9e52d1ee947 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;