From 8db2698d1cb49e7f3aed532bb753511071892a64 Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Fri, 5 Jan 2018 13:38:49 +0000 Subject: [PATCH] Make chrec_contains_symbols true for POLY_INT_CST 2018-01-05 Richard Sandiford gcc/ * tree-chrec.c (chrec_contains_symbols): Return true for POLY_INT_CST. From-SVN: r256276 --- gcc/ChangeLog | 5 +++++ gcc/tree-chrec.c | 1 + 2 files changed, 6 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d9b9efd92bf..8a0dc89cce3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2018-01-05 Richard Sandiford + + * tree-chrec.c (chrec_contains_symbols): Return true for + POLY_INT_CST. + 2018-01-05 Sudakshina Das PR target/82439 diff --git a/gcc/tree-chrec.c b/gcc/tree-chrec.c index 5594455c73c..924df04783c 100644 --- a/gcc/tree-chrec.c +++ b/gcc/tree-chrec.c @@ -961,6 +961,7 @@ chrec_contains_symbols (const_tree chrec) if (TREE_CODE (chrec) == SSA_NAME || VAR_P (chrec) + || TREE_CODE (chrec) == POLY_INT_CST || TREE_CODE (chrec) == PARM_DECL || TREE_CODE (chrec) == FUNCTION_DECL || TREE_CODE (chrec) == LABEL_DECL -- 2.30.2