https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103462
--- Comment #6 from Hongtao.liu <crazylht at gmail dot com> --- (In reply to Hongtao.liu from comment #5) > Created attachment 52004 [details] > Testes patch, wait for gcc13. Add error in the patch to see if there's any change in gcc which can be optimized, it turns out there're several places. gcc/final.c:4363:24: error: Got bitwise induction optimization 4363 | virtual unsigned int execute (function *) { return rest_of_handle_final (); } gcc/ira-lives.c:1221:1: error: Got bitwise induction optimization 1221 | process_bb_node_lives (ira_loop_tree_node_t loop_tree_node) gcc/lra-lives.c:653:1: error: Got bitwise induction optimization 653 | process_bb_lives (basic_block bb, int &curr_point, bool dead_insn_p) gcc/lra-assigns.c:478:1: error: Got bitwise induction optimization 478 | find_hard_regno_for_1 (int regno, int *cost, int try_only_hard_regno, gcc/ira.c:1703:1: error: Got bitwise induction optimization 1703 | ira_init (void)