]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Guard isl_ast_op_zdiv_r usage with HAVE_ISL_OPTIONS_SET_SCHEDULE_SERIALIZE_SCCS
authorvries <vries@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 3 Dec 2015 10:16:07 +0000 (10:16 +0000)
committervries <vries@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 3 Dec 2015 10:16:07 +0000 (10:16 +0000)
2015-12-03  Tom de Vries  <tom@codesourcery.com>

* graphite-isl-ast-to-gimple.c (binary_op_to_tree)
(gcc_expression_from_isl_expr_op): Guard isl_ast_op_zdiv_r usage with
HAVE_ISL_OPTIONS_SET_SCHEDULE_SERIALIZE_SCCS.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@231223 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/graphite-isl-ast-to-gimple.c

index 7989fd8420ac9401d17ee44a2ffa30467d1839a6..35554453267b9f088be0933753dbc92e62baa3be 100644 (file)
@@ -1,3 +1,9 @@
+2015-12-03  Tom de Vries  <tom@codesourcery.com>
+
+       * graphite-isl-ast-to-gimple.c (binary_op_to_tree)
+       (gcc_expression_from_isl_expr_op): Guard isl_ast_op_zdiv_r usage with
+       HAVE_ISL_OPTIONS_SET_SCHEDULE_SERIALIZE_SCCS.
+
 2015-12-03  Richard Biener  <rguenther@suse.de>
 
        PR tree-optimization/67800
index 06a206209d93409e6b42b185937f1646a7b5149e..20eb80f52d440443b460b82f75a69d3bfa9417ab 100644 (file)
@@ -588,7 +588,9 @@ binary_op_to_tree (tree type, __isl_take isl_ast_expr *expr, ivs_params &ip)
        }
       return fold_build2 (TRUNC_DIV_EXPR, type, tree_lhs_expr, tree_rhs_expr);
 
+#if HAVE_ISL_OPTIONS_SET_SCHEDULE_SERIALIZE_SCCS
     case isl_ast_op_zdiv_r:
+#endif
     case isl_ast_op_pdiv_r:
       /* As ISL operates on arbitrary precision numbers, we may end up with
         division by 2^64 that is folded to 0.  */
@@ -759,7 +761,9 @@ gcc_expression_from_isl_expr_op (tree type, __isl_take isl_ast_expr *expr,
     case isl_ast_op_pdiv_q:
     case isl_ast_op_pdiv_r:
     case isl_ast_op_fdiv_q:
+#if HAVE_ISL_OPTIONS_SET_SCHEDULE_SERIALIZE_SCCS
     case isl_ast_op_zdiv_r:
+#endif
     case isl_ast_op_and:
     case isl_ast_op_or:
     case isl_ast_op_eq: