[Bug tree-optimization/84205] [8 Regression] [graphite] ICE in set_codegen_error, at graphite-isl-ast-to-gimple.c:206
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Feb 6 10:46:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84205
--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Index: gcc/graphite-isl-ast-to-gimple.c
===================================================================
--- gcc/graphite-isl-ast-to-gimple.c (revision 257382)
+++ gcc/graphite-isl-ast-to-gimple.c (working copy)
@@ -327,6 +327,7 @@ binary_op_to_tree (tree type, __isl_take
we cannot represent explicitely but that are no-ops for TYPE.
Elide those. */
if ((expr_type == isl_ast_op_pdiv_r
+ || expr_type == isl_ast_op_zdiv_r
|| expr_type == isl_ast_op_add)
&& isl_ast_expr_get_type (arg_expr) == isl_ast_expr_int
&& (wi::exact_log2 (widest_int_from_isl_expr_int (arg_expr))
More information about the Gcc-bugs
mailing list