[PATCH] fix rtl enable-check faikure combine.c:simplify_shift_const

Graham Stott graham.stott@btinternet.com
Mon May 31 18:56:00 GMT 2004


All,

The attached patch fixes a rtl-checking failure in combine.c:simplify_shift_const
that's a fallout from

2004-01-30  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>

         * combine.c (simplify_shift_const, case XOR): Be careful when
         commuting XOR with ASHIFTRT.

Bootstrapped i686-pc-linux-gnu all languages no regressions

Also builth8300-elf, xscale-elf, mn10300-elf crosses no regression

Graham

ChangeLog

2004-05-31  Graham Stott  <graham.stott@btinternet.com>

	* combine.c(simplify_shift_const): Check shift amount is a
	CONST_INT.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: combine.c.diff
Type: text/x-diff
Size: 1482 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20040531/a838bc7b/attachment.bin>


More information about the Gcc-patches mailing list