re PR bootstrap/88089 (build failure with GCC 4.9 on SPARC/Solaris)
authorRichard Biener <rguenther@suse.de>
Tue, 20 Nov 2018 08:04:26 +0000 (08:04 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 20 Nov 2018 08:04:26 +0000 (08:04 +0000)
2018-11-20  Richard Biener  <rguenther@suse.de>

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

From-SVN: r266300

gcc/ChangeLog
gcc/tree-data-ref.c

index 6669b20..712146f 100644 (file)
@@ -1,3 +1,8 @@
+2018-11-20  Richard Biener  <rguenther@suse.de>
+
+       PR middle-end/88089
+       * tree-data-ref.c (lambda_matrix_right_hermite): Use abs_hwi.
+
 2018-11-19  Jan Hubicka  <hubicka@ucw.cz>
 
        PR lto/87957
index ca07bdf..d30dbd1 100644 (file)
@@ -3546,8 +3546,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);