aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree.c')
-rw-r--r--gcc/tree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree.c b/gcc/tree.c
index 7d2a292..b9f7391 100644
--- a/gcc/tree.c
+++ b/gcc/tree.c
@@ -6770,11 +6770,11 @@ tree_fold_gcd (tree a, tree b)
if (tree_int_cst_sgn (a) == -1)
a = fold_build2 (MULT_EXPR, type, a,
- convert (type, integer_minus_one_node));
+ build_int_cst (type, -1));
if (tree_int_cst_sgn (b) == -1)
b = fold_build2 (MULT_EXPR, type, b,
- convert (type, integer_minus_one_node));
+ build_int_cst (type, -1));
while (1)
{