aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtlhash.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/rtlhash.c')
-rw-r--r--gcc/rtlhash.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/rtlhash.c b/gcc/rtlhash.c
index a7cfc53..9a3df4c 100644
--- a/gcc/rtlhash.c
+++ b/gcc/rtlhash.c
@@ -55,6 +55,10 @@ add_rtx (const_rtx x, hash &hstate)
for (i = 0; i < CONST_WIDE_INT_NUNITS (x); i++)
hstate.add_object (CONST_WIDE_INT_ELT (x, i));
return;
+ case CONST_POLY_INT:
+ for (i = 0; i < NUM_POLY_INT_COEFFS; ++i)
+ hstate.add_wide_int (CONST_POLY_INT_COEFFS (x)[i]);
+ break;
case SYMBOL_REF:
if (XSTR (x, 0))
hstate.add (XSTR (x, 0), strlen (XSTR (x, 0)) + 1);