diff options
author | Richard Biener <rguenther@suse.de> | 2019-01-31 08:09:59 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2019-01-31 08:09:59 +0000 |
commit | f4caead02f75bf6c2d1de2e35498fcf6a32936e2 (patch) | |
tree | 3e0df73c0a2db16d0993c4679489878cf2b5b7c6 /gcc/lra.c | |
parent | 8936f047c08193cdb5f5dda9d630e1b35045fe5e (diff) | |
download | gcc-f4caead02f75bf6c2d1de2e35498fcf6a32936e2.zip gcc-f4caead02f75bf6c2d1de2e35498fcf6a32936e2.tar.gz gcc-f4caead02f75bf6c2d1de2e35498fcf6a32936e2.tar.bz2 |
re PR rtl-optimization/89115 (compile time and memory hog)
2019-01-31 Richard Biener <rguenther@suse.de>
PR rtl-optimization/89115
* lra.c (lra_rtx_hash): Properly hash CONST_INT values.
From-SVN: r268414
Diffstat (limited to 'gcc/lra.c')
-rw-r--r-- | gcc/lra.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1719,10 +1719,12 @@ lra_rtx_hash (rtx x) case SCRATCH: case CONST_DOUBLE: - case CONST_INT: case CONST_VECTOR: return val; + case CONST_INT: + return val + UINTVAL (x); + default: break; } |