* cgraphunit.c (cgraph_decide_inlining): Fix typo.
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 8 Jan 2004 22:57:49 +0000 (22:57 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 8 Jan 2004 22:57:49 +0000 (22:57 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75560 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/cgraphunit.c

index 4608eca..42a63f8 100644 (file)
@@ -1,3 +1,7 @@
+2004-01-08  Jan Hubicka  <jh@suse.cz>
+
+       * cgraphunit.c (cgraph_decide_inlining):  Fix typo.
+
 2004-01-08  Geoffrey Keating  <geoffk@apple.com>
 
        * config/rs6000/rs6000.md (cmptf_internal1): Correct branch offset.
index 4b4aef0..8b17d3e 100644 (file)
@@ -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;