]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Revert "[PATCH] [AutoFDO] Fix 'inlined' set in inline_functions_by_afdo"
authorKugan Vivekanandarajah <kvivekananda@nvidia.com>
Thu, 4 Dec 2025 01:04:54 +0000 (12:04 +1100)
committerKugan Vivekanandarajah <kvivekananda@nvidia.com>
Thu, 4 Dec 2025 01:04:54 +0000 (12:04 +1100)
This reverts commit 62736c5a062f8e698c8d8ac2d1b12adf0abb88fb.

gcc/ipa-inline.cc

index 4be1fe5f2436e37be6fa3b8c1462284694e2cccf..1f2287da8967ab33d73f161a8814c62681ee36d0 100644 (file)
@@ -3196,6 +3196,7 @@ inline_functions_by_afdo (struct cgraph_node *node, bool *speculative_calls)
        remove_afdo_speculative_target (e);
       inline_call (e, true, NULL, NULL, false);
       inlined |= inline_functions_by_afdo (e->callee, speculative_calls);
+      inlined = true;
     }
 
   if (inlined && !node->inlined_to)