This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r251218 - in /trunk/gcc: ChangeLog varasm.c
- From: rsandifo at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Mon, 21 Aug 2017 09:46:07 -0000
- Subject: r251218 - in /trunk/gcc: ChangeLog varasm.c
Author: rsandifo
Date: Mon Aug 21 09:46:05 2017
New Revision: 251218
URL: https://gcc.gnu.org/viewcvs?rev=251218&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:
trunk/gcc/ChangeLog
trunk/gcc/varasm.c