https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102688
Martin Liška <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |marxin at gcc dot gnu.org --- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> --- Yes, it's turned off by default in rs6000 here: static const struct default_options rs6000_option_optimization_table[] = { ... /* -frename-registers leads to non-optimal codegen and performance on rs6000, turn it off by default. */ { OPT_LEVELS_ALL, OPT_frename_registers, NULL, 0 }, ... } I'm going to handle it.