https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124029
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
>From expmed.cc:
```
int old_cost = rtx_cost (*imm, mode, COMPARE, 0, true);
int new_cost = rtx_cost (new_imm, mode, COMPARE, 0, true);
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, ";; cmp: %s, old cst: ",
GET_RTX_NAME (*code));
print_rtl (dump_file, *imm);
fprintf (dump_file, " new cst: ");
print_rtl (dump_file, new_imm);
fprintf (dump_file, "\n");
fprintf (dump_file, ";; old cst cost: %d, new cst cost: %d\n",
old_cost, new_cost);
}
```