The following makes us use bitmap tree view for the always-executed-BBs
bitmap as computed by IPA utils find_always_executed_bbs and used by
IPA modref (where it shows up in the profile for PR114855.

Bootstrapped and tested on x86_64-unknown-linux-gnu, pushed.

        * ipa-utils.cc (find_always_executed_bbs): Switch result
        bitmap to tree view.
---
 gcc/ipa-utils.cc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gcc/ipa-utils.cc b/gcc/ipa-utils.cc
index 3be0ddb8e96..dbfc60ff8ac 100644
--- a/gcc/ipa-utils.cc
+++ b/gcc/ipa-utils.cc
@@ -907,6 +907,7 @@ find_always_executed_bbs (function *fun, bool 
assume_return_or_eh)
      exit block.  */
 
   bitmap ret = BITMAP_ALLOC (NULL);
+  bitmap_tree_view (ret);
   /* A degenerated case when there is no path to exit.  */
   if (!visited.contains (EXIT_BLOCK_PTR_FOR_FN (fun)))
     {
-- 
2.43.0

Reply via email to