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-Tag: basepoints/gcc-10~1420 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f4caead02f75bf6c2d1de2e35498fcf6a32936e2;p=thirdparty%2Fgcc.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 8b632f5f92e5..d1166329e6ca 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 e00e6e77e9f8..f1300652889f 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; }