* cgraphunit.c (cgraph_decide_inlining): Fix typo.
authorJan Hubicka <jh@suse.cz>
Thu, 8 Jan 2004 22:57:49 +0000 (23:57 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Thu, 8 Jan 2004 22:57:49 +0000 (22:57 +0000)
From-SVN: r75560

gcc/ChangeLog
gcc/cgraphunit.c

index 4608ecaedfd892378b7389d378db1fed9ce3b0b7..42a63f8f3160396028c426eccee2c95557ef1f9e 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 4b4aef046ed717a29850c20224499b8885dd07c8..8b17d3e7b659d6e2277c70d6937f29bf0286b3e5 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;