aboutsummaryrefslogtreecommitdiff
path: root/gcc/cgraphunit.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2004-01-08 23:57:49 +0100
committerJan Hubicka <hubicka@gcc.gnu.org>2004-01-08 22:57:49 +0000
commit6242fcd8e49ba3df32be1762b5352e1e673538ad (patch)
treebfcda179780163412df0fae98bcfc93f863180f9 /gcc/cgraphunit.c
parentecb62ae79bc32cd8bc6c2fb5b0c1299c728ea37c (diff)
downloadgcc-6242fcd8e49ba3df32be1762b5352e1e673538ad.zip
gcc-6242fcd8e49ba3df32be1762b5352e1e673538ad.tar.gz
gcc-6242fcd8e49ba3df32be1762b5352e1e673538ad.tar.bz2
* cgraphunit.c (cgraph_decide_inlining): Fix typo.
From-SVN: r75560
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 4b4aef0..8b17d3e 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;