]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/ipa-profile.c
Avoid updating hot bb threshold in call speculation code
[thirdparty/gcc.git] / gcc / ipa-profile.c
index ce32b538976d2a12a83d41691bbfe0a18918c6e9..02f42d9b0f74ecf44cff1fdf900fa594a3b91ad1 100644 (file)
@@ -854,18 +854,6 @@ ipa_profile (void)
              node_map_initialized = true;
              ncommon++;
 
-             if (in_lto_p)
-               {
-                 if (dump_file)
-                   {
-                     fprintf (dump_file,
-                              "Updating hotness threshold in LTO mode.\n");
-                     fprintf (dump_file, "Updated min count: %" PRId64 "\n",
-                              (int64_t) threshold / spec_count);
-                   }
-                 set_hot_bb_threshold (threshold / spec_count);
-               }
-
              unsigned speculative_id = 0;
              profile_count orig = e->count;
              for (unsigned i = 0; i < spec_count; i++)