https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102793
Manolis Tsamis <manolis.tsamis at vrull dot eu> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |manolis.tsamis at vrull dot eu --- Comment #6 from Manolis Tsamis <manolis.tsamis at vrull dot eu> --- Created attachment 57886 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57886&action=edit Patch with proposed fix for the issue. Adding a copy of the ifcombine pass after pre solves this issues and improves code generation is some other cases too. I specifically chose after the pre pass because it deduplicates basic blocks and helps in maximizing the effect of ifcombine.