diff --git a/gcc/tree-ssa-dom.cc b/gcc/tree-ssa-dom.cc
index e82f4f73a66e655eb4c71e59182d97ba364eda0c..c9e52d1ee947959063ecca9c7c12ec1d729ca4ce 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;