re PR tree-optimization/82819 ([graphite] ICE in set_codegen_error, at graphite-isl...
authorRichard Biener <rguenther@suse.de>
Wed, 24 Jan 2018 09:31:56 +0000 (09:31 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 24 Jan 2018 09:31:56 +0000 (09:31 +0000)
commitda37a70f55338ef295bb1f7a39f9ef3e407835dd
tree9688e107e8359408fc0e893df65b1ce706c9d077
parentdf9e39b16e41cd3452e6349e0f662f8aaf9a2dfa
re PR tree-optimization/82819 ([graphite] ICE in set_codegen_error, at graphite-isl-ast-to-gimple.c:206)

2018-01-24  Richard Biener  <rguenther@suse.de>

PR tree-optimization/82819
* graphite-isl-ast-to-gimple.c (binary_op_to_tree): Avoid
code generating pluses that are no-ops in the target precision.

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

From-SVN: r257012
gcc/ChangeLog
gcc/graphite-isl-ast-to-gimple.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/graphite/pr82819.c [new file with mode: 0644]