This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug regression/41188] move_invariant_reg() damages CBRANCH instructions with CLOBBER attribute
- From: "shcherbakov at daad-alumni dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Sep 2009 16:12:45 -0000
- Subject: [Bug regression/41188] move_invariant_reg() damages CBRANCH instructions with CLOBBER attribute
- References: <bug-41188-18129@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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