[PATCH, middle-end]: Fix PR middle-end/30667

Uros Bizjak ubizjak@gmail.com
Fri Feb 2 14:41:00 GMT 2007


Hello!

In combine.c, try_combine() we have to prevent constant wider than
HOST_BITS_PER_WIDE_INT * 2  from entering  immed_double_host().

Patch was bootstrapped & regression tested on i686-pc-linux-gnu for
all default langugages.

2007-02-02  Uros Bizjak  <ubizjak@gmail.com>

	* combine.c (try_combine): Do not substitute source operand
	with constants wider than 2 * HOST_BITS_PER_WIDE_INT.

testsuite/ChangeLog:

2007-02-02  Uros Bizjak  <ubizjak@gmail.com>

	* gfortran.dg/pr30667.f: New test.

Uros.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr30667.diff
Type: application/octet-stream
Size: 928 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20070202/d5b54096/attachment.obj>


More information about the Gcc-patches mailing list