Instead of, for instance, "Loop got predicted 1 to iterate 10 times"
the message should be "Loop 1 got predicted to iterate 10 times".
gcc/ChangeLog:
* predict.cc (pass_profile::execute): Fix dump message.
+2021-11-16 Frederik Harwath <frederik@codesourcery.com>
+
+ * predict.cc (pass_profile::execute): Fix dump message.
+
2021-11-16 Frederik Harwath <frederik@codesourcery.com>
Thomas Schwinge <thomas@codesourcery.com>
{
for (auto loop : loops_list (cfun, LI_FROM_INNERMOST))
if (loop->header->count.initialized_p ())
- fprintf (dump_file, "Loop got predicted %d to iterate %i times.\n",
+ fprintf (dump_file, "Loop %d got predicted to iterate %i times.\n",
loop->num,
(int)expected_loop_iterations_unbounded (loop));
}