summaryrefslogtreecommitdiff
path: root/gcc/cgraphunit.c
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2004-01-08 22:57:49 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2004-01-08 22:57:49 +0000
commitfea157ce6140ef022a99f0bf3173691ca76a8e82 (patch)
treebfcda179780163412df0fae98bcfc93f863180f9 /gcc/cgraphunit.c
parent24a016583c8d451c2ba675a4badd1ff953eb17e2 (diff)
downloadgcc-fea157ce6140ef022a99f0bf3173691ca76a8e82.tar.gz
* cgraphunit.c (cgraph_decide_inlining): Fix typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75560 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cgraphunit.c')
-rw-r--r--gcc/cgraphunit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c
index 4b4aef046ed..8b17d3e7b65 100644
--- a/gcc/cgraphunit.c
+++ b/gcc/cgraphunit.c
@@ -1208,7 +1208,7 @@ cgraph_decide_inlining (void)
/* Verify that we won't duplicate the caller. */
for (node1 = node->callers->caller;
- node1->callers && node1->callers->inline_failed
+ node1->callers && !node1->callers->inline_failed
&& ok; node1 = node1->callers->caller)
if (node1->callers->next_caller || node1->needed)
ok = false;