https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103226
Jeffrey A. Law <law at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P1 |P4 --- Comment #20 from Jeffrey A. Law <law at gcc dot gnu.org> --- Your c#19 was a bit hard to follow. But you hit the key issue. Namely that the doloop pattern will set/clobber the condition codes if it gets split. Failure to show that clobber means that IRA/LRA have incorrect dataflow and make incorrect decisions. I'm testing the obvious fix of adding the clobber. It may be possible to improve on my patch, but I'll leave that to someone who really cares about the port.