Commit 8db2698d by Richard Sandiford Committed by Richard Sandiford

Make chrec_contains_symbols true for POLY_INT_CST

2018-01-05  Richard Sandiford  <richard.sandiford@linaro.org>

gcc/
	* tree-chrec.c (chrec_contains_symbols): Return true for
	POLY_INT_CST.

From-SVN: r256276
parent 49479590
2018-01-05 Richard Sandiford <richard.sandiford@linaro.org>
* tree-chrec.c (chrec_contains_symbols): Return true for
POLY_INT_CST.
2018-01-05 Sudakshina Das <sudi.das@arm.com> 2018-01-05 Sudakshina Das <sudi.das@arm.com>
PR target/82439 PR target/82439
......
...@@ -961,6 +961,7 @@ chrec_contains_symbols (const_tree chrec) ...@@ -961,6 +961,7 @@ chrec_contains_symbols (const_tree chrec)
if (TREE_CODE (chrec) == SSA_NAME if (TREE_CODE (chrec) == SSA_NAME
|| VAR_P (chrec) || VAR_P (chrec)
|| TREE_CODE (chrec) == POLY_INT_CST
|| TREE_CODE (chrec) == PARM_DECL || TREE_CODE (chrec) == PARM_DECL
|| TREE_CODE (chrec) == FUNCTION_DECL || TREE_CODE (chrec) == FUNCTION_DECL
|| TREE_CODE (chrec) == LABEL_DECL || TREE_CODE (chrec) == LABEL_DECL
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment