From a96b763edbb59f91b6250f651a2b4eb85e0c8e80 Mon Sep 17 00:00:00 2001 From: Matthias Braun Date: Fri, 6 Nov 2009 12:44:26 +0000 Subject: [PATCH] fix warning [r26719] --- ir/ana/callgraph.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ir/ana/callgraph.c b/ir/ana/callgraph.c index b99c6fb92..700dfcbc0 100644 --- a/ir/ana/callgraph.c +++ b/ir/ana/callgraph.c @@ -660,7 +660,7 @@ static int is_head(ir_graph *n, ir_graph *root) { } } - return some_outof_loop & some_in_loop; + return some_outof_loop && some_in_loop; } /** @@ -689,7 +689,7 @@ static int is_endless_head(ir_graph *n, ir_graph *root) some_in_loop = 1; } } - return !some_outof_loop & some_in_loop; + return !some_outof_loop && some_in_loop; } #ifdef INTERPROCEDURAL_VIEW -- 2.20.1