https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123885
Dusan Stojkovic <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #2 from Dusan Stojkovic <[email protected]> --- Just a note on the relation between this bug and pr124956: In this case conditional move generation happens because of noce_convert_multiple_sets, while in pr124956 it's due to noce_try_cmove_arith. So for a general fix to work the fix should happen at latest in noce_process_if_block or probably in an earlier pass. Gobolt of examples: https://godbolt.org/z/jxMe16hbx
