From 3d040dbc67a608bbf86033ffe50bf37bf789c605 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Wed, 20 Apr 2005 13:19:17 +0000 Subject: re PR tree-optimization/21116 (tree-ssa-phiopt.c:193 has wrong translation from EDGE_COUNT to single_succ_p.) PR tree-optimization/21116 * tree-ssa-phiopt.c: Fix a typo. From-SVN: r98457 --- gcc/tree-ssa-phiopt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/tree-ssa-phiopt.c') diff --git a/gcc/tree-ssa-phiopt.c b/gcc/tree-ssa-phiopt.c index bc284ece86f..ff611e61b59 100644 --- a/gcc/tree-ssa-phiopt.c +++ b/gcc/tree-ssa-phiopt.c @@ -202,7 +202,7 @@ tree_ssa_phiopt (void) e1 = EDGE_SUCC (bb1, 0); /* Make sure that bb1 is just a fall through. */ - if (!single_succ_p (bb1) > 1 + if (!single_succ_p (bb1) || (e1->flags & EDGE_FALLTHRU) == 0) continue; -- cgit v1.2.1