From: Richard Biener Date: Tue, 20 Nov 2018 08:04:26 +0000 (+0000) Subject: re PR bootstrap/88089 (build failure with GCC 4.9 on SPARC/Solaris) X-Git-Tag: upstream/12.2.0~27951 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=14b6a72109964eaf00aa3a46f0f9776bbcaef067;p=platform%2Fupstream%2Fgcc.git re PR bootstrap/88089 (build failure with GCC 4.9 on SPARC/Solaris) 2018-11-20 Richard Biener PR middle-end/88089 * tree-data-ref.c (lambda_matrix_right_hermite): Use abs_hwi. From-SVN: r266300 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6669b20..712146f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2018-11-20 Richard Biener + + PR middle-end/88089 + * tree-data-ref.c (lambda_matrix_right_hermite): Use abs_hwi. + 2018-11-19 Jan Hubicka PR lto/87957 diff --git a/gcc/tree-data-ref.c b/gcc/tree-data-ref.c index ca07bdf..d30dbd1 100644 --- a/gcc/tree-data-ref.c +++ b/gcc/tree-data-ref.c @@ -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);