------- Comment #9 from shcherbakov at daad-alumni dot de 2009-09-02 16:12 ------- > This change is incorrect because a register ceases to be a loop invariant > if it is clobbered.
Agreed. Tested your patch. Works fine for me. Is there any way to know, from which version will the patch be included in gcc releases? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41188