[Bug regression/41188] move_invariant_reg() damages CBRANCH instructions with CLOBBER attribute

shcherbakov at daad-alumni dot de gcc-bugzilla@gcc.gnu.org
Wed Sep 2 16:13:00 GMT 2009



------- 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



More information about the Gcc-bugs mailing list