From 2ddd4f5f69966134e356aaa27f1ab2791fcac0b7 Mon Sep 17 00:00:00 2001 From: Steven Watanabe Date: Mon, 30 Apr 2012 18:11:35 +0000 Subject: [PATCH] Fix an infinite loop caused by creating a cycle in the strongly connected component links. [SVN r78282] --- src/engine/make1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/make1.c b/src/engine/make1.c index 912062206..31abdc379 100644 --- a/src/engine/make1.c +++ b/src/engine/make1.c @@ -1279,7 +1279,7 @@ static void make1findcycle_cleanup( TARGET * t ) static TARGET * make1findcycle( TARGET * t ) { - TARGET * result = make1findcycle_impl( t, t ); + TARGET * result = make1findcycle_impl( t, target_scc( t ) ); make1findcycle_cleanup( t ); return result; }