From: Richard Biener Date: Thu, 31 Jan 2019 08:09:59 +0000 (+0000) Subject: re PR rtl-optimization/89115 (compile time and memory hog) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f4caead02f75bf6c2d1de2e35498fcf6a32936e2;p=gcc.git re PR rtl-optimization/89115 (compile time and memory hog) 2019-01-31 Richard Biener PR rtl-optimization/89115 * lra.c (lra_rtx_hash): Properly hash CONST_INT values. From-SVN: r268414 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8b632f5f92e..d1166329e6c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2019-01-31 Richard Biener + + PR rtl-optimization/89115 + * lra.c (lra_rtx_hash): Properly hash CONST_INT values. + 2019-01-30 Martin Sebor PR other/89106 diff --git a/gcc/lra.c b/gcc/lra.c index e00e6e77e9f..f1300652889 100644 --- a/gcc/lra.c +++ b/gcc/lra.c @@ -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; }