r252499 - in /branches/range-gen2/gcc: ChangeLo...

aldyh@gcc.gnu.org aldyh@gcc.gnu.org
Wed Sep 13 17:12:00 GMT 2017


Author: aldyh
Date: Wed Sep 13 17:12:50 2017
New Revision: 252499

URL: https://gcc.gnu.org/viewcvs?rev=252499&root=gcc&view=rev
Log:
Fix bogus CONST_WIDE_INT hash

The CONST_WIDE_INT case in const_rtx_hash_1 started the hash
with the precision of the mode, but the mode is always VOIDmode.

2017-08-21  Richard Sandiford  <richard.sandiford@linaro.org>
	    Alan Hayward  <alan.hayward@arm.com>
	    David Sherwood  <david.sherwood@arm.com>

gcc/
	* varasm.c (const_rtx_hash_1): Don't hash in the mode of a
	CONST_WIDE_INT.

Modified:
    branches/range-gen2/gcc/ChangeLog
    branches/range-gen2/gcc/varasm.c



More information about the Gcc-cvs mailing list