diff options
author | Richard Biener <rguenther@suse.de> | 2017-10-13 06:59:13 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2017-10-13 06:59:13 +0000 |
commit | 1163f058761b9d4b93d0ada5cdb5a6bd3cb2665c (patch) | |
tree | 581e7ac190de1cea496c0d90c21b1324a5770339 /gcc/tree-ssa-loop-prefetch.c | |
parent | cae827b1a1a2f02d08fa0602e1cdaf991a8248ea (diff) | |
download | gcc-1163f058761b9d4b93d0ada5cdb5a6bd3cb2665c.zip gcc-1163f058761b9d4b93d0ada5cdb5a6bd3cb2665c.tar.gz gcc-1163f058761b9d4b93d0ada5cdb5a6bd3cb2665c.tar.bz2 |
re PR tree-optimization/82525 ([GRAPHITE] codegen error for modulo operations we cannot represent)
2017-10-13 Richard Biener <rguenther@suse.de>
PR tree-optimization/82525
* graphite-isl-ast-to-gimple.c
(translate_isl_ast_to_gimple::widest_int_from_isl_expr_int): Split
out from ...
(translate_isl_ast_to_gimple::gcc_expression_from_isl_expr_int): Here.
Fail code generation when we cannot represent the isl integer.
(binary_op_to_tree): Elide modulo operations that are no-ops
in the type we code generate. Remove now superfluous code
generation errors.
* gcc.dg/graphite/id-30.c: New testcase.
* gfortran.dg/graphite/id-28.f90: Likewise.
From-SVN: r253706
Diffstat (limited to 'gcc/tree-ssa-loop-prefetch.c')
0 files changed, 0 insertions, 0 deletions