Another oversight.

Bootstrapped and tested on x86_64-unknown-linux-gnu, applied.

Richard.

2018-11-20  Richard Biener  <rguent...@suse.de>

        PR middle-end/88089
        * tree-data-ref.c (lambda_matrix_right_hermite): Use abs_hwi.

>From d374f5497b4bb33a5ebf2535035d6183a6a68021 Mon Sep 17 00:00:00 2001
From: Richard Guenther <rguent...@suse.de>
Date: Mon, 19 Nov 2018 13:19:47 +0100
Subject: [PATCH] fix-pr88089


diff --git a/gcc/tree-data-ref.c b/gcc/tree-data-ref.c
index 6ebcd93860d..c8193f694df 100644
--- a/gcc/tree-data-ref.c
+++ b/gcc/tree-data-ref.c
@@ -3587,8 +3587,8 @@ lambda_matrix_right_hermite (lambda_matrix A, int m, int 
n,
                  a = S[i-1][j];
                  b = S[i][j];
                  sigma = (a * b < 0) ? -1: 1;
-                 a = abs (a);
-                 b = abs (b);
+                 a = abs_hwi (a);
+                 b = abs_hwi (b);
                  factor = sigma * (a / b);
 
                  lambda_matrix_row_add (S, n, i, i-1, -factor);

Reply via email to