This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] fix combine.c:reg_nonzero_bits_for_combine where last_set_mode is narrower than mode


Please find patch for bug discussed in:
http://gcc.gnu.org/ml/gcc/2013-11/msg00571.html

Bootstrapped successfully in x86_64.

2013-11-29  Paulo Matos <pmatos@broadcom.com>
	     Eric Botcazou <ebotcazou@adacore.com>

	* combine.c (reg_nonzero_bits_for_combine): Apply mask transformation
	as applied to nonzero_sign_valid fixing bug when last_set_mode has
	less precision than mode.


OK to submit?

Paulo Matos


Attachment: reg_nonzero_bits_for_combine.patch
Description: reg_nonzero_bits_for_combine.patch


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]