re PR tree-optimization/84204 ([graphite] ICE in set_codegen_error, at graphite-isl...
authorRichard Biener <rguenther@suse.de>
Wed, 7 Feb 2018 10:14:25 +0000 (10:14 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 7 Feb 2018 10:14:25 +0000 (10:14 +0000)
commite4c7306692dbcbbbe1d7c82eac8f6a44a4c909f9
treecc1ac1fc8d9d20c2c7146aca053323f09070d271
parent3924c9be0b45d920c140d56a7850b5a88b3eee5e
re PR tree-optimization/84204 ([graphite] ICE in set_codegen_error, at graphite-isl-ast-to-gimple.c:206)

2018-02-07  Richard Biener  <rguenther@suse.de>

PR tree-optimization/84204
* tree-chrec.c (chrec_fold_plus_1): Remove size limiting in
this place.

* gcc.dg/graphite/pr84204.c: New testcase.

PR tree-optimization/84205
* graphite-isl-ast-to-gimple.c (binary_op_to_tree): Also
special-case isl_ast_op_zdiv_r.

* gcc.dg/graphite/pr84205.c: New testcase.

PR tree-optimization/84223
* graphite-scop-detection.c (gather_bbs::before_dom_children):
Only add conditions from within the region.
(gather_bbs::after_dom_children): Adjust.

* gfortran.dg/graphite/pr84223.f90: New testcase.

From-SVN: r257441
gcc/ChangeLog
gcc/graphite-isl-ast-to-gimple.c
gcc/graphite-scop-detection.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/graphite/pr84204.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/graphite/pr84205.c [new file with mode: 0644]
gcc/testsuite/gfortran.dg/graphite/pr84223.f90 [new file with mode: 0644]
gcc/tree-chrec.c