loop-invariant.c patch: Use validate_change to avoid breaking match_dup

Eric Botcazou ebotcazou@adacore.com
Fri Apr 9 20:14:00 GMT 2010


> I think I see what you mean.  Please go ahead with your patch then.

Thanks.  Here's what I've installed after testing on x86_64-suse-linux.


2010-04-09  Eric Botcazou  <ebotcazou@adacore.com>
            Bernd Schmidt  <bernd.schmidt@codesourcery.com>

	* loop-invariant.c (replace_uses): New static function.
	(move_invariant_reg): Use it to ensure we can replace the uses.


-- 
Eric Botcazou
-------------- next part --------------
A non-text attachment was scrubbed...
Name: loop-inv-2b.diff
Type: text/x-diff
Size: 3943 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20100409/e55a4bfb/attachment.bin>


More information about the Gcc-patches mailing list