2017-10-11 Richard Biener <rguenther@suse.de>
commit4a81b20b13766d45895c10addaedfa3dfe04d56a
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 11 Oct 2017 13:18:46 +0000 (11 13:18 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 11 Oct 2017 13:18:46 +0000 (11 13:18 +0000)
tree1f7df19f00d7907c8969115d87abfaa9bf8a929f
parent3e39e82945f0986f3ef00d5200a46c218b0d45d0
2017-10-11  Richard Biener  <rguenther@suse.de>

* tree.def (POLYNOMIAL_CHREC): Remove CHREC_VARIABLE tree operand.
* tree-core.h (tree_base): Add chrec_var union member.
* tree.h (CHREC_VAR): Remove.
(CHREC_LEFT, CHREC_RIGHT, CHREC_VARIABLE): Adjust.
* tree-chrec.h (build_polynomial_chrec): Adjust.
* tree-chrec.c (reset_evolution_in_loop): Use build_polynomial_chrec.
* tree-pretty-print.c (dump_generic_node): Use CHREC_VARIABLE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@253643 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/tree-chrec.c
gcc/tree-chrec.h
gcc/tree-core.h
gcc/tree-pretty-print.c
gcc/tree.def
gcc/tree.h