[4.4] Fix PR rtl-optimization/46337

Eric Botcazou ebotcazou@adacore.com
Mon Nov 29 10:27:00 GMT 2010


This fixes an embarrassing bug in dse.c: arguments passed to gen_int_mode are 
swapped in a couple of places.  This was already fixed on the 4.5 branch 
(then mainline) by Ian; the submitter ran into it on the 4.4 branch as well.

Tested on i586-suse-linux, applied on the 4.4 branch.


2010-11-29  Eric Botcazou  <ebotcazou@adacore.com>

	PR rtl-optimization/46337
	Backport from mainline
	2009-04-20  Ian Lance Taylor  <iant@google.com>

	* dse.c (replace_inc_dec): Reverse parameters to gen_int_mode.


-- 
Eric Botcazou
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p.diff
Type: text/x-diff
Size: 801 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20101129/b8341b8f/attachment.bin>


More information about the Gcc-patches mailing list